Function tari_utilities::serde::hex::serialize
source · pub fn serialize<S, T>(data: &T, ser: S) -> Result<S::Ok, S::Error>where
S: Serializer,
T: ByteArray,
Expand description
Serializes a ByteArray
to a hex string or a binary array.