[−][src]Trait rdms::Serialize
Serialize values to binary sequence of bytes.
Required methods
fn encode(&self, buf: &mut Vec<u8>) -> usize
Convert this value into binary equivalent. Encoded bytes shall
be appended to the input-buffer buf
. Return bytes encoded.
fn decode(&mut self, buf: &[u8]) -> Result<usize>
Reverse process of encode, given the binary equivalent buf
,
construct self
.