mirror of
https://github.com/jwetzell/osc-js.git
synced 2026-09-06 22:58:58 +00:00
add fromString for bool types
This commit is contained in:
+2
-3
@@ -73,14 +73,13 @@ const oscTypeConverterMap: { [key in OSCType]: OSCTypeConverter } = {
|
|||||||
toBuffer: () => {
|
toBuffer: () => {
|
||||||
return Buffer.alloc(0)
|
return Buffer.alloc(0)
|
||||||
},
|
},
|
||||||
fromString: (string: string) => true
|
fromString: (string: string) => true,
|
||||||
},
|
},
|
||||||
F: {
|
F: {
|
||||||
toBuffer: () => {
|
toBuffer: () => {
|
||||||
return Buffer.alloc(0)
|
return Buffer.alloc(0)
|
||||||
},
|
},
|
||||||
fromString: (string: string) => false
|
fromString: (string: string) => false,
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function argsToBuffer(args: OSCArg[]) {
|
function argsToBuffer(args: OSCArg[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user