pub fn consensus_encode_bytes<W: Write>( bytes: &[u8], writer: &mut W, ) -> Result<usize, Error>
Specialized version of Encodable for bytes