UNPKG

327 BTypeScriptView Raw
1export declare class TextDecoder {
2 get encoding(): string;
3 decode(input: BufferSource): string;
4 toString(): string;
5 [Symbol.toStringTag]: string;
6}
7export declare class TextEncoder {
8 get encoding(): string;
9 encode(input?: string): Uint8Array;
10 toString(): string;
11 [Symbol.toStringTag]: string;
12}