UNPKG

2.78 kBTypeScriptView Raw
1export function testGolangBinaryEncodingCompatibility(): void;
2export function testVerifyLen(): void;
3export function testStringEncodingPerformanceNativeVsPolyfill(): void;
4export function testDecodingPerformanceNativeVsPolyfill(): void;
5export function testStringDecodingPerformance(): void;
6export function testAnyEncodeUnknowns(_tc: t.TestCase): void;
7export function testAnyEncodeDate(_tc: t.TestCase): void;
8export function testEncodeMax32bitUint(_tc: t.TestCase): void;
9export function testVarUintEncoding(_tc: t.TestCase): void;
10export function testVarIntEncoding(_tc: t.TestCase): void;
11export function testRepeatVarUintEncoding(tc: t.TestCase): void;
12export function testRepeatVarUintEncoding53bit(tc: t.TestCase): void;
13export function testRepeatVarIntEncoding(tc: t.TestCase): void;
14export function testRepeatVarIntEncoding53bit(tc: t.TestCase): void;
15export function testRepeanntAnyEncoding(tc: t.TestCase): void;
16export function testRepeatPeekVarUintEncoding(tc: t.TestCase): void;
17export function testRepeatPeekVarIntEncoding(tc: t.TestCase): void;
18export function testAnyVsJsonEncoding(tc: t.TestCase): void;
19export function testStringEncoding(_tc: t.TestCase): void;
20export function testRepeatStringEncoding(tc: t.TestCase): void;
21export function testSetMethods(_tc: t.TestCase): void;
22export function testRepeatRandomWrites(tc: t.TestCase): void;
23export function testWriteUint8ArrayOverflow(_tc: t.TestCase): void;
24export function testSetOnOverflow(_tc: t.TestCase): void;
25export function testCloneDecoder(_tc: t.TestCase): void;
26export function testWriteBinaryEncoder(_tc: t.TestCase): void;
27export function testOverflowStringDecoding(tc: t.TestCase): void;
28export function testRleEncoder(_tc: t.TestCase): void;
29export function testRleIntDiffEncoder(_tc: t.TestCase): void;
30export function testUintOptRleEncoder(_tc: t.TestCase): void;
31export function testIncUintOptRleEncoder(_tc: t.TestCase): void;
32export function testIntDiffRleEncoder(_tc: t.TestCase): void;
33export function testIntEncoders(tc: t.TestCase): void;
34export function testIntDiffEncoder(_tc: t.TestCase): void;
35export function testStringDecoder(tc: t.TestCase): void;
36export function testLargeNumberEncoding(tc: t.TestCase): void;
37export function testInvalidVarIntEncoding(_tc: t.TestCase): void;
38export function testTerminatedEncodering(_tc: t.TestCase): void;
39export type EncodingPair = {
40 read: (arg0: decoding.Decoder) => any;
41 write: (arg0: encoding.Encoder, arg1: any) => void;
42 gen: (arg0: prng.PRNG) => any;
43 compare: (arg0: any, arg1: any) => boolean;
44 name: string;
45};
46import * as t from './testing.js';
47import * as decoding from './decoding.js';
48import * as encoding from './encoding.js';
49import * as prng from './prng.js';
50//# sourceMappingURL=encoding.test.d.ts.map
\No newline at end of file