MCPcopy Index your code
hub / github.com/microsoft/playwright / encodeNull

Method encodeNull

packages/utils/crypto.ts:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.

Callers 1

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected