[][src]Function mohan::ser::serialize_uint

pub fn serialize_uint<S>(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.