We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f95c36 commit cb0d740Copy full SHA for cb0d740
Cargo.toml
@@ -16,6 +16,7 @@ num-traits = "0.2"
16
num-derive = "0.4"
17
serde = { version = "1.0", features = ["derive"] }
18
serde_json = "1.0"
19
+serde_bytes = "0.11.17"
20
serde_repr = "0.1"
21
22
[lib]
src/types.rs
@@ -387,7 +387,9 @@ pub enum ValueRecord {
387
place: Place,
388
},
389
BigInt {
390
- b: Vec<u8>, // Big endian
+ #[serde(with = "serde_bytes")]
391
+ b: Vec<u8>, // Base64 encoded bytes of a big-endian unsigned integer
392
+ negative: bool,
393
type_id: TypeId,
394
395
}
0 commit comments