first commit
This commit is contained in:
14
node_modules/chardet/lib/encoding/index.d.ts
generated
vendored
Normal file
14
node_modules/chardet/lib/encoding/index.d.ts
generated
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user