Closed kamyuentse closed 7 years ago
For example, I hava a strcut defined as follow:
pub struct VariableLength(u32);
And the field using a variable length encoding scheme, how can I implement Serializer/Deserializer for it?
VaribaleLength <---> Vec<u8>/&[u8]
Thanks a lot.
I moved this to https://github.com/serde-rs/serde/issues/1007 because I don't think it will involve serde_bytes.
For example, I hava a strcut defined as follow:
And the field using a variable length encoding scheme, how can I implement Serializer/Deserializer for it?
Thanks a lot.