Files
pyrofetes-frontend/node_modules/chardet/lib/encoding/index.d.ts
CHEVALLIER Abel cb235644dc init
2025-11-13 16:23:22 +01:00

15 lines
376 B
TypeScript

import type { EncodingName, Match } from '../match';
export interface Recogniser {
match(input: Context): Match | null;
name(input?: Context): EncodingName;
language?(): string | undefined;
}
export interface Context {
byteStats: number[];
c1Bytes: boolean;
rawInput: Uint8Array;
rawLen: number;
inputBytes: Uint8Array;
inputLen: number;
}