Module serdect::slice

source ·
Expand description

Serialization primitives for slices.

Structs§

  • Serializer/deserializer newtype which encodes bytes as either binary or hex.

Functions§

  • Deserialize from hex when using human-readable formats or binary if the format is binary. Fails if the buffer is smaller then the resulting slice.
  • Deserialize from hex when using human-readable formats or binary if the format is binary.
  • Serialize the given type as lower case hex when using human-readable formats or binary if the format is binary.
  • Serialize the given type as upper case hex when using human-readable formats or binary if the format is binary.

Type Aliases§