Skip to main content

Module arc_bytes

Module arc_bytes 

Source
Expand description

serde_bytes for Arc<[u8]>, which it has no impl for.

serde’s slice impl is collect_seq, one call per byte. The encoding is the same either way, so the swap is wire-compatible; serde_bytes’ visitor still accepts a sequence.

Functions§

deserialize
Errors
serialize
Errors