[][src]Function ethereum_types_serialize::serialize_uint

pub fn serialize_uint<S>(
    slice: &mut [u8],
    bytes: &[u8],
    serializer: S
) -> Result<S::Ok, S::Error> where
    S: Serializer

Serialize a slice of bytes as uint.

The representation will have all leading zeros trimmed.