pub fn encode<T: Serialize>(value: &T) -> Result<Vec<u8>>Expand description
Encode value in dora’s binary wire format.
This and encode_presized are the only encode entry points; call sites do
not name the underlying codec, so it stays swappable from one file.