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

Function uint8ArrayToNumber

packages/core/fumadb/src/utils/binary.ts:42–45  ·  view source on GitHub ↗
(arr: Uint8Array)

Source from the content-addressed store, hash-verified

40}
41
42export function uint8ArrayToNumber(arr: Uint8Array) {
43 const view = new DataView(arr.buffer, arr.byteOffset, arr.byteLength);
44 return view.getFloat64(0, false);
45}

Callers 1

migrateDataTypeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected