Skip to main content

Module option

Module option 

Source
Expand description

Serde helper for Option<[u8; N]> — wraps the parent module’s const-generic [u8; N] codec in Option-aware visitors.

Use via #[serde(with = "crate::serialization::serde_bytes::option")]. None round-trips as null in JSON / unit in binary formats; Some values use the parent module’s base64-vs-bytes shape.

Functions§

deserialize
serialize