MCPcopy Create free account
hub / github.com/Botloader/botloader / decodeText

Function decodeText

components/runtime/src/ts/core_util.ts:152–154  ·  view source on GitHub ↗
(buf: Uint8Array)

Source from the content-addressed store, hash-verified

150 * Decode a string from its Uint8Array representation.
151 */
152export function decodeText(buf: Uint8Array): string {
153 return Deno.core.decode(buf);
154}
155
156/**
157 * An async lock only runs 1 function at a time, this is useful if you have a series of async operations that depend on the computation of previous operation.

Callers 2

jsonMethod · 0.90
textMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected