encode-signedness #13

Merged
sashakoshka merged 8 commits from encode-signedness into message-size-increase 2025-08-11 19:10:59 -06:00
Showing only changes of commit 024edfa922 - Show all commits

View File

@ -70,6 +70,8 @@ func TestEncodeDecodeAnyTable(test *testing.T) {
err := testEncodeDecodeAny(test, map[uint16] any { err := testEncodeDecodeAny(test, map[uint16] any {
0xF3B9: uint32(1), 0xF3B9: uint32(1),
0x0102: uint32(2), 0x0102: uint32(2),
0x0103: int64(23432),
0x0104: int64(-88777),
0x0000: []byte("hi!"), 0x0000: []byte("hi!"),
0xFFFF: []uint16 { 0xBEE5, 0x7777 }, 0xFFFF: []uint16 { 0xBEE5, 0x7777 },
0x1234: [][]uint16 { []uint16 { 0x5 }, []uint16 { 0x17, 0xAAAA} }, 0x1234: [][]uint16 { []uint16 { 0x5 }, []uint16 { 0x17, 0xAAAA} },