pub fn serialize<S>(b: &SmolBitmap, serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,Expand description
Serialize the SmolBitmap as bytes.
This function serializes the bitmap’s internal byte representation.
§Errors
Returns an error if the serializer fails to serialize the bytes.