MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / textToBytes

Function textToBytes

packages/@stdlib/misc/src/string.ts:14–16  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

12
13const textEncoder = new TextEncoder();
14export function textToBytes(text: string): Uint8Array {
15 return textEncoder.encode(text);
16}
17
18const textDecoder = new TextDecoder();
19export function bytesToText(bytes: Uint8Array): string {

Callers 15

encryptUserEmailFunction · 0.90
self-user-name.tsFile · 0.90
getRegistrationValuesFunction · 0.90
group-names.tsFile · 0.90
step1Function · 0.90
step1Function · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected