CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
unicode.d.ts28 linesDownload Raw Back to encoding
1import type { Context, Recogniser } from '.';2import { type Match, type EncodingName } from '../match';3export declare class UTF_16BE implements Recogniser {4    name(): EncodingName;5    match(det: Context): Match | null;6}7export declare class UTF_16LE implements Recogniser {8    name(): EncodingName;9    match(det: Context): Match | null;10}11interface WithGetChar {12    getChar(input: Uint8Array, index: number): number;13}14declare class UTF_32 implements Recogniser, WithGetChar {15    name(): EncodingName;16    getChar(_input: Uint8Array, _index: number): number;17    match(det: Context): Match | null;18}19export declare class UTF_32BE extends UTF_32 {20    name(): EncodingName;21    getChar(input: Uint8Array, index: number): number;22}23export declare class UTF_32LE extends UTF_32 {24    name(): EncodingName;25    getChar(input: Uint8Array, index: number): number;26}27export {};28 
basant307/AI_Governance_Project · CoolFace