MCPcopy
hub / github.com/brianc/node-postgres / addChar

Method addChar

packages/pg-protocol/src/testing/buffer-list.ts:41–43  ·  view source on GitHub ↗
(char: string, first?: boolean)

Source from the content-addressed store, hash-verified

39 }
40
41 public addChar(char: string, first?: boolean) {
42 return this.add(Buffer.from(char, 'utf8'), first)
43 }
44
45 public addByte(byte: number) {
46 return this.add(Buffer.from([byte]))

Callers 5

errorOrNoticeFunction · 0.95
joinMethod · 0.95
buffer-list.jsFile · 0.80
test-buffers.tsFile · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected