summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/chardet/lib/encoding/unicode.d.ts
blob: 4fb7fd715cd2dba9ca505a604b576cbea0395165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Context, Recogniser } from '.';
import { Match } from '../match';
export declare class UTF_16BE implements Recogniser {
    name(): string;
    match(det: Context): Match | null;
}
export declare class UTF_16LE implements Recogniser {
    name(): string;
    match(det: Context): Match | null;
}
interface WithGetChar {
    getChar(input: Uint8Array, index: number): number;
}
declare class UTF_32 implements Recogniser, WithGetChar {
    name(): string;
    getChar(_input: Uint8Array, _index: number): number;
    match(det: Context): Match | null;
}
export declare class UTF_32BE extends UTF_32 {
    name(): string;
    getChar(input: Uint8Array, index: number): number;
}
export declare class UTF_32LE extends UTF_32 {
    name(): string;
    getChar(input: Uint8Array, index: number): number;
}
export {};