mirror of
https://github.com/jwetzell/osc-js.git
synced 2026-08-16 20:53:25 +00:00
remove node Buffer usage from src
This commit is contained in:
@@ -25,7 +25,7 @@ const tests = [
|
||||
},
|
||||
{
|
||||
description: 'simple address blob arg',
|
||||
message: { address: '/hello', args: [{ type: 'b', value: Buffer.from('blob') }] },
|
||||
message: { address: '/hello', args: [{ type: 'b', value: new TextEncoder().encode('blob') }] },
|
||||
expected: Buffer.from('2f68656c6c6f00002c62000000000004626c6f62', 'hex'),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user