MCPcopy
hub / github.com/mongodb/node-mongodb-native / append

Method append

src/utils.ts:809–812  ·  view source on GitHub ↗

Adds a buffer to the internal buffer pool list

(buffer: Uint8Array)

Source from the content-addressed store, hash-verified

807
808 /** Adds a buffer to the internal buffer pool list */
809 append(buffer: Uint8Array): void {
810 this.buffers.push(buffer);
811 this.totalByteLength += buffer.length;
812 }
813
814 /**
815 * If BufferPool contains 4 bytes or more construct an int32 from the leading bytes,

Callers 15

kmsRequestMethod · 0.95
displayNextItemFunction · 0.80
jquery.jsFile · 0.80
urlMethod · 0.80
isMockServerSetupFunction · 0.80
testSigningFunction · 0.80
utils.test.tsFile · 0.80
_transformMethod · 0.80
aws4SignFunction · 0.80
getGcpTokenDataFunction · 0.80
addAzureParamsFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by 1

testSigningFunction · 0.64