MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / readI32

Method readI32

packages/core/src/binary/reader.ts:85–90  ·  view source on GitHub ↗

Read signed 32-bit integer (little-endian), advancing cursor by 4 bytes.

()

Source from the content-addressed store, hash-verified

83
84 /** Read signed 32-bit integer (little-endian), advancing cursor by 4 bytes. */
85 readI32(): number {
86 this.ensureAvailable(4);
87 const v = this.dv.getInt32(this.off, true);
88 this.off += 4;
89 return v;
90 }
91
92 /**
93 * Read len bytes as a subarray view, advancing cursor by len bytes.

Callers 3

parseEventBatchV1Function · 0.95
assertReaderRoundTripFunction · 0.95
assertTruncatedReadsFailFunction · 0.95

Calls 1

ensureAvailableMethod · 0.95

Tested by 2

assertReaderRoundTripFunction · 0.76
assertTruncatedReadsFailFunction · 0.76