osc: utf8 read/write is now supported upstream
This commit is contained in:
parent
91585ce56c
commit
a6314cd441
1 changed files with 0 additions and 13 deletions
|
|
@ -5,17 +5,4 @@ var osc = require('osc/src/osc.js'),
|
|||
osc.UDPPort = transports.UDPPort
|
||||
osc.TCPSocketPort = transports.TCPSocketPort
|
||||
|
||||
osc.writeUtfString = (str)=>{
|
||||
return osc.writeString(utf8.encode(str))
|
||||
}
|
||||
|
||||
osc.readUtfString = (dv, offsetState)=>{
|
||||
return osc.readString(dv, offsetState)
|
||||
}
|
||||
|
||||
osc.argumentTypes.s = osc.argumentTypes.S = {
|
||||
reader: 'readUtfString',
|
||||
writer: 'writeUtfString'
|
||||
}
|
||||
|
||||
module.exports = osc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue