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

Method readU32

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

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

()

Source from the content-addressed store, hash-verified

75
76 /** Read unsigned 32-bit integer (little-endian), advancing cursor by 4 bytes. */
77 readU32(): number {
78 this.ensureAvailable(4);
79 const v = this.dv.getUint32(this.off, true);
80 this.off += 4;
81 return v;
82 }
83
84 /** Read signed 32-bit integer (little-endian), advancing cursor by 4 bytes. */
85 readI32(): number {

Callers 13

parseEventBatchV1Function · 0.95
parseRecordHeaderFunction · 0.95
parseFrameRecordFunction · 0.95
parseEventRecordFunction · 0.95
parseErrorRecordFunction · 0.95
parseDrawlistRecordFunction · 0.95
parsePerfRecordFunction · 0.95
parseQueryResultFunction · 0.95
parseStatsFunction · 0.95
assertReaderRoundTripFunction · 0.95
assertTruncatedReadsFailFunction · 0.95
readU64Function · 0.80

Calls 1

ensureAvailableMethod · 0.95

Tested by 2

assertReaderRoundTripFunction · 0.76
assertTruncatedReadsFailFunction · 0.76