CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
mbcs.d.ts51 linesDownload Raw Back to encoding
1import type { Context, Recogniser } from '.';2import { type Match, type EncodingName } from '../match';3declare class IteratedChar {4    charValue: number;5    index: number;6    nextIndex: number;7    error: boolean;8    done: boolean;9    constructor();10    reset(): void;11    nextByte(det: Context): number;12}13declare class mbcs implements Recogniser {14    commonChars: number[];15    name(): EncodingName;16    match(det: Context): Match | null;17    nextChar(_iter: IteratedChar, _det: Context): boolean;18}19export declare class sjis extends mbcs {20    name(): EncodingName;21    language(): string;22    commonChars: number[];23    nextChar(iter: IteratedChar, det: Context): boolean;24}25export declare class big5 extends mbcs {26    name(): EncodingName;27    language(): string;28    commonChars: number[];29    nextChar(iter: IteratedChar, det: Context): boolean;30}31declare function eucNextChar(iter: IteratedChar, det: Context): boolean;32export declare class euc_jp extends mbcs {33    name(): EncodingName;34    language(): string;35    commonChars: number[];36    nextChar: typeof eucNextChar;37}38export declare class euc_kr extends mbcs {39    name(): EncodingName;40    language(): string;41    commonChars: number[];42    nextChar: typeof eucNextChar;43}44export declare class gb_18030 extends mbcs {45    name(): EncodingName;46    language(): string;47    nextChar(iter: IteratedChar, det: Context): boolean;48    commonChars: number[];49}50export {};51 
basant307/AI_Governance_Project · CoolFace