(...elements)
| 436 | const byte = (n) => Buffer.from([0x62, n]); |
| 437 | const table = (...entries) => sized('F', Buffer.concat(entries)); |
| 438 | const array = (...elements) => sized('A', Buffer.concat(elements)); |
| 439 | const timestamp = (hex) => Buffer.concat([Buffer.from('T'), Buffer.from(hex, 'hex')]); |
| 440 | |
| 441 | const unknownType = table(key('!'), string('bogus'), key('value'), byte(10)); |