UNPKG

jtc-utils

Version:
17 lines 778 B
import { type Charset, type CharsetDecoderOptions, type CharsetEncodeOptions, type CharsetEncoder, type CharsetEncoderOptions, StandardDecoder } from "./charset.mjs"; declare class Windows31jCharset implements Charset { get name(): string; createDecoder(options?: CharsetDecoderOptions): StandardDecoder; createEncoder(options?: CharsetEncoderOptions): Windows31jEncoder; isUnicode(): boolean; isEbcdic(): boolean; } declare class Windows31jEncoder implements CharsetEncoder { private fatal; constructor(options?: CharsetEncoderOptions); canEncode(str: string): boolean; encode(str: string, options?: CharsetEncodeOptions): Uint8Array; } export declare const windows31j: Windows31jCharset; export {}; //# sourceMappingURL=windows31j.d.mts.map