firest commit

This commit is contained in:
wwweww
2026-02-21 22:48:40 +08:00
commit 55e8053e07
1034 changed files with 99049 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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;
}