MCPcopy Index your code
hub / github.com/tinyplex/tinybase / toB64

Function toB64

test/unit/common/mergeable.ts:12–12  ·  view source on GitHub ↗
(num: number)

Source from the content-addressed store, hash-verified

10const SHIFT6 = 2 ** 6;
11
12const toB64 = (num: number): string => String.fromCharCode(48 + (num & MASK6));
13
14const encodeHlc = (
15 logicalTime42: number,

Callers 1

encodeHlcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…