MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / writeBigInt64BE

Function writeBigInt64BE

packages/core/fumadb/src/schema/serialize.ts:222–227  ·  view source on GitHub ↗
(value: bigint)

Source from the content-addressed store, hash-verified

220};
221
222const writeBigInt64BE = (value: bigint): Uint8Array => {
223 const bytes = new Uint8Array(8);
224 const view = new DataView(bytes.buffer);
225 view.setBigInt64(0, value, false);
226 return bytes;
227};
228
229/**
230 * Parse from driver value

Callers 1

serializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected