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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/// Default configuration:
///
/// - Numbers are represented in little endian byte order
/// - Length of the collection is encoded with [crate::var_int::BEU30]
pub const DEFAULT: u16 = LE | BEU30;
/// Configuration options for number representation
// Negative Number encoding strategy, Used with variable integer encoding algorithms.
// pub mod int_codec {
// pub const ZIG_ZAG: u16 = ...;
// // it use sign bit to represent negetive number.
// pub const SIGN_BIT: u16 = ...;
// }
/// Configuration options for representing length of collection.