1 | export class RabinUncachedEncoder {
|
2 | |
3 |
|
4 |
|
5 | constructor(m: Uint8Array);
|
6 | m: Uint8Array;
|
7 | blen: number;
|
8 | bs: Uint8Array;
|
9 | /**
|
10 | * This describes the position of the most significant byte (starts with 0 and increases with
|
11 | * shift)
|
12 | */
|
13 | bpos: number;
|
14 | /**
|
15 | * Add/Xor/Substract bytes.
|
16 | *
|
17 | * Discards bytes that are out of range.
|
18 | * @todo put this in function or inline
|
19 | *
|
20 | * @param {Uint8Array} cs
|
21 | */
|
22 | add(cs: Uint8Array): void;
|
23 | |
24 |
|
25 |
|
26 | write(byte: number): void;
|
27 | getFingerprint(): Uint8Array;
|
28 | }
|
29 |
|
\ | No newline at end of file |