@typespec/ts-http-runtime
Version:
Isomorphic client library for making HTTP requests in node.js and browser.
13 lines • 311 B
TypeScript
/**
* Decodes a Uint8Array to a UTF-8 string.
*
* @internal
*/
export declare function decodeUtf8(bytes: Uint8Array): string;
/**
* Encodes a string to a UTF-8 Uint8Array.
*
* @internal
*/
export declare function encodeUtf8(value: string): Uint8Array<ArrayBuffer>;
//# sourceMappingURL=encoding.d.ts.map