1 |
|
2 | type Encoding = 'utf-8' | 'CP437' | 'CP850' | 'CP874' | 'CP932' | 'CP936' | 'CP949' | 'CP950' | 'CP1250' | 'CP1251' | 'CP1252' | 'CP1253' | 'CP1254' | 'CP1255' | 'CP1256' | 'CP1257' | 'CP1258';
|
3 | export declare const codepageByLanguageId: {
|
4 | [key: number]: Encoding;
|
5 | };
|
6 | export declare const codepageBySortId: {
|
7 | [key: number]: Encoding;
|
8 | };
|
9 | export declare const Flags: {
|
10 | IGNORE_CASE: number;
|
11 | IGNORE_ACCENT: number;
|
12 | IGNORE_KANA: number;
|
13 | IGNORE_WIDTH: number;
|
14 | BINARY: number;
|
15 | BINARY2: number;
|
16 | UTF8: number;
|
17 | };
|
18 | export declare class Collation {
|
19 | readonly lcid: number;
|
20 | readonly flags: number;
|
21 | readonly version: number;
|
22 | readonly sortId: number;
|
23 | readonly codepage: Encoding | undefined;
|
24 | private buffer;
|
25 | static fromBuffer(buffer: Buffer, offset?: number): Collation;
|
26 | constructor(lcid: number, flags: number, version: number, sortId: number);
|
27 | toBuffer(): Buffer;
|
28 | }
|
29 | export {};
|