MCPcopy Index your code
hub / github.com/brianc/node-postgres / addByte

Method addByte

packages/pg-protocol/src/testing/buffer-list.ts:45–47  ·  view source on GitHub ↗
(byte: number)

Source from the content-addressed store, hash-verified

43 }
44
45 public addByte(byte: number) {
46 return this.add(Buffer.from([byte]))
47 }
48
49 public join(appendLength?: boolean, char?: string): Buffer {
50 let length = this.getByteLength()

Callers 1

test-buffers.tsFile · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected