Skip to main content

serialize

Function serialize 

Source
pub fn serialize<S, B>(
    bytes: &Option<B>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer, B: Borrow<[u8]> + Serialize,
👎Deprecated since 0.22.0:

Use apache_avro::serde::bytes_opt::serialize instead

Expand description