MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / addBuffer

Method addBuffer

src/packFileSerializer.ts:2362–2365  ·  view source on GitHub ↗
(buffer: Buffer)

Source from the content-addressed store, hash-verified

2360 }
2361 // Synchronously add buffer to queue
2362 addBuffer(buffer: Buffer): void {
2363 this.writeQueue.push(buffer);
2364 this.queuedSize += buffer.length;
2365 }
2366 // Synchronously add integer as buffer
2367 addInt32(value: number): void {
2368 reusableBuffers.i32.writeInt32LE(value, 0);

Callers 5

addInt32Method · 0.95
addInt8Method · 0.95
addStringMethod · 0.95
writePackStreamFunction · 0.45
writeFieldBufferedStreamFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected