()
| 62 | return this._encode(0x06, Buffer.concat(output)); |
| 63 | } |
| 64 | static encodeNull(): Buffer { |
| 65 | return Buffer.from([0x05, 0x00]); |
| 66 | } |
| 67 | static encodeSet(data: Buffer[]): Buffer { |
| 68 | assert(data.length === 1, 'Only one item in the set is supported. We\'d need to sort the data to support more.'); |
| 69 | // We expect the data to be already sorted. |
no test coverage detected