MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / getBytes

Function getBytes

src.ts/utils/data.ts:54–56  ·  view source on GitHub ↗
(value: BytesLike, name?: string)

Source from the content-addressed store, hash-verified

52 * @see: getBytesCopy
53 */
54export function getBytes(value: BytesLike, name?: string): Uint8Array {
55 return _getBytes(value, name, false);
56}
57
58/**
59 * Get a typed Uint8Array for %%value%%, creating a copy if necessary

Callers 4

hexlifyFunction · 0.70
dataLengthFunction · 0.70
dataSliceFunction · 0.70
zeroPadFunction · 0.70

Calls 1

_getBytesFunction · 0.70

Tested by

no test coverage detected