Trait rlp::rlptraits::ByteEncodable [] [src]

pub trait ByteEncodable {
    fn to_bytes<V: VecLike<u8>>(&self, out: &mut V);
    fn bytes_len(&self) -> usize;
}

Primitive data type encodable to RLP

Required Methods

Serialize this object to given byte container

Get size of serialised data in bytes

Implementors