pub fn encode_bytes(bytes: Self) -> Vec<u8> {
        let encoded: Vec<u8>;
        let rlp = bytes.get_rlp_encoded();
        if rlp.len() == 1 && rlp[0] <= 128 {
            encoded = rlp.clone();
        } else {
            encoded = Self::concat(&Self::encode_length(rlp.len(), 128), &rlp);
        }
        encoded
    }
/// RLP-encode a byte string.
/// Returns the RLP encoded string in bytes.
RLP-encode a byte string.
Returns the RLP encoded string in bytes.
RLP - encode a byte string . Returns the RLP encoded string in bytes .
pub fn encode_bytes(bytes: Self) -> Vec<u8> {
        let encoded: Vec<u8>;
        let rlp = bytes.get_rlp_encoded();
        if rlp.len() == 1 && rlp[0] <= 128 {
            encoded = rlp.clone();
        } else {
            encoded = Self::concat(&Self::encode_length(rlp.len(), 128), &rlp);
        }
        encoded
    }
pub fn encode_bytes ( bytes : Self ) -> Vec < u8 > { let encoded : Vec < u8 > ; let rlp = bytes . get_rlp_encoded ( ) ; if rlp . len ( ) == 1 && rlp [ 0 ] <= 128 { encoded = rlp . clone ( ) ; } else { encoded = Self :: concat ( & Self :: encode_length ( rlp . len ( ) , 128 ) , & rlp ) ; } encoded }
RLP-encode a byte string.
RLP - encode a byte string .
bytes
Self
bytes
Self