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

Function encodeText

components/runtime/src/ts/core_util.ts:145–147  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

143 * Encode a string to its Uint8Array representation.
144 */
145export function encodeText(s: string): Uint8Array {
146 return Deno.core.encode(s);
147}
148
149/**
150 * Decode a string from its Uint8Array representation.

Callers 3

sendJsonMethod · 0.90
sendTextMethod · 0.90
toOpMessageFieldsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected