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

Function cloneBytes

packages/core/src/__tests__/drawlistDecode.ts:65–67  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

63}
64
65function cloneBytes(bytes: Uint8Array): Uint8Array {
66 return Uint8Array.from(bytes);
67}
68
69function readCommandBounds(bytes: Uint8Array): Readonly<{ cmdOffset: number; cmdEnd: number }> {
70 if (bytes.byteLength < HEADER_SIZE) {

Callers 4

parseResourceStateFunction · 0.85
parseBlobByIdFunction · 0.85
parseDrawTextCommandsFunction · 0.85
parseDrawTextRunCommandsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected