UNPKG

2.57 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 testIntDiffRleEncoder(tc: t.TestCase): void;
32export function testIntEncoders(tc: t.TestCase): void;
33export function testIntDiffEncoder(tc: t.TestCase): void;
34export function testStringDecoder(tc: t.TestCase): void;
35export function testLargeNumberAnyEncoding(tc: t.TestCase): void;
36export type EncodingPair = {
37 read: (arg0: decoding.Decoder) => any;
38 write: (arg0: encoding.Encoder, arg1: any) => void;
39 gen: (arg0: prng.PRNG) => any;
40 compare: (arg0: any, arg1: any) => boolean;
41 name: string;
42};
43import * as t from "./testing.js";
44import * as decoding from "./decoding.js";
45import * as encoding from "./encoding.js";
46import * as prng from "./prng.js";
47//# sourceMappingURL=encoding.test.d.ts.map
\No newline at end of file