MCPcopy Create free account
hub / github.com/btd/rollup-plugin-visualizer / bytes

Method bytes

shared/share/binary.ts:51–55  ·  view source on GitHub ↗
(value: Uint8Array)

Source from the content-addressed store, hash-verified

49 }
50
51 bytes(value: Uint8Array): void {
52 this.reserve(value.length);
53 this.buffer.set(value, this.position);
54 this.position += value.length;
55 }
56
57 accountText(size: number): void {
58 this.textBytes += size;

Callers 2

encodeReportFunction · 0.95
textMethod · 0.95

Calls 1

reserveMethod · 0.95

Tested by

no test coverage detected