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

Method add

packages/pg-protocol/src/buffer-writer.ts:81–86  ·  view source on GitHub ↗
(otherBuffer: Buffer)

Source from the content-addressed store, hash-verified

79 }
80
81 public add(otherBuffer: Buffer): Writer {
82 this.ensure(otherBuffer.length)
83 otherBuffer.copy(this.buffer, this.offset)
84 this.offset += otherBuffer.length
85 return this
86 }
87
88 private join(code?: number): Buffer {
89 if (code) {

Callers 11

_afterConnectMethod · 0.45
test-buffers.jsFile · 0.45
buffer-list.jsFile · 0.45
startMockServerFunction · 0.45
startupFunction · 0.45
writeValuesFunction · 0.45
bindFunction · 0.45
copyDataFunction · 0.45

Calls 1

ensureMethod · 0.95

Tested by

no test coverage detected