Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ uint8ArrayToBoolean
Function
uint8ArrayToBoolean
packages/core/fumadb/src/utils/binary.ts:31–33 ·
view source on GitHub ↗
(arr: Uint8Array)
Source
from the content-addressed store, hash-verified
29
}
30
31
export
function
uint8ArrayToBoolean(arr: Uint8Array) {
32
return
arr[0] !== 0;
33
}
34
35
export
function
numberToUint8Array(num: number) {
36
const
bytes =
new
Uint8Array(8);
Callers
1
migrateDataType
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected