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

Method constructor

packages/core/src/binary/reader.ts:31–34  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

29 private off = 0;
30
31 constructor(bytes: Uint8Array) {
32 this.bytes = bytes;
33 this.dv = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
34 }
35
36 get offset(): number {
37 return this.off;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected