ion-binary-rs 0.8.13

Pure Rust parser, encoder and hasher for Amazon's Ion binary format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$ion_1_0

// 3 bytes
// 15 bits
// hex: 0x7fff
// dec: 32767
$ion_1_0
$ion_symbol_table::{
    imports:[ { name: "com.amazon.blah.blah.blah",
                version: 1,
                max_id: 32757 // 32767 - 1 - 9 (system symbols)
              } ],
    symbols:[ "boundary-1", "boundary", "boundary+1" ]
}
'boundary-1'::1         // $32766
'boundary'  ::1         // $32767 2^15 - 1
'boundary+1'::1         // $32768