UNPKG

jtc-utils

Version:
16 lines 694 B
import { type Charset, type CharsetDecoderOptions, type CharsetEncodeOptions, type CharsetEncoder, type CharsetEncoderOptions, StandardDecoder } from "./charset.mjs"; declare class Utf8Charset implements Charset { get name(): string; createDecoder(options?: CharsetDecoderOptions): StandardDecoder; createEncoder(options?: CharsetEncoderOptions): Utf8Encoder; isUnicode(): boolean; isEbcdic(): boolean; } declare class Utf8Encoder implements CharsetEncoder { private encoder; canEncode(str: string): boolean; encode(str: string, options?: CharsetEncodeOptions): Uint8Array; } export declare const utf8: Utf8Charset; export {}; //# sourceMappingURL=utf8.d.mts.map