MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / bytesToText

Function bytesToText

packages/@stdlib/misc/src/string.ts:19–21  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

17
18const textDecoder = new TextDecoder();
19export function bytesToText(bytes: Uint8Array): string {
20 return textDecoder.decode(bytes);
21}
22
23export function padZeroes(num: number | string, length: number): string {
24 return ('0'.repeat(length) + num).slice(-length);

Callers 14

constructorMethod · 0.90
decryptUserEmailFunction · 0.90
rooms.tsFile · 0.90
self-user-name.tsFile · 0.90
group-names.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected