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

Method addInt32

src/packFileSerializer.ts:2367–2370  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

2365 }
2366 // Synchronously add integer as buffer
2367 addInt32(value: number): void {
2368 reusableBuffers.i32.writeInt32LE(value, 0);
2369 this.addBuffer(Buffer.from(reusableBuffers.i32));
2370 }
2371 // Synchronously add byte as buffer
2372 addInt8(value: number): void {
2373 reusableBuffers.i8.writeInt8(value, 0);

Callers 1

writePackStreamFunction · 0.45

Calls 1

addBufferMethod · 0.95

Tested by

no test coverage detected