mirror of
https://github.com/jwetzell/osc-js.git
synced 2026-08-19 05:54:00 +00:00
add support for osc h type
This commit is contained in:
@@ -53,6 +53,11 @@ const tests = [
|
||||
bytes: new Uint8Array([47, 104, 101, 108, 108, 111, 0, 0, 44, 73, 0, 0]),
|
||||
expected: { address: '/hello', args: [{ type: 'I', value: Number.MAX_SAFE_INTEGER }] },
|
||||
},
|
||||
{
|
||||
description: 'simple address int64 arg',
|
||||
bytes: new Uint8Array([47, 104, 101, 108, 108, 111, 0, 0, 44, 104, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255]),
|
||||
expected: { address: '/hello', args: [{ type: 'h', value: 281474976710655n }] },
|
||||
},
|
||||
{
|
||||
description: 'osc 1.0 spec example 1',
|
||||
bytes: new Uint8Array([
|
||||
|
||||
Reference in New Issue
Block a user