Module strict_bytes

Source
Expand description

A much simplified version of serde_bytes that:

  1. Refuses to decode strings/arrays into “bytes”, only accepting “bytes” (hence the “strict” part).
  2. Can decode to/from byte arrays.

Structs§

ByteBuf
Wrapper for serializing and deserializing dynamic sized Bytes.

Traits§

Deserialize
Deserializer
A data format that can deserialize any data structure supported by Serde.
Serialize
Serializer
A data format that can serialize any data structure supported by Serde.

Functions§

deserialize
serialize