Crate dharitri_codec

source ·

Modules

Structs

  • Reexport needed by derive. A contiguous growable array type, written as Vec<T>, short for ‘vector’.

Traits

  • Trait that allows zero-copy read of value-references from slices in LE format.
  • Trait that allows reading of data into a slice.
  • Trait that allows zero-copy write of value-references to slices in LE format.
  • Most types will be encoded without any possibility of error. The trait is used to provide these implementations. This is currently not a substitute for implementing a proper TopEncode.
  • Trait that allows appending bytes. Used especially by the NestedEncode trait to output data.
  • Trait that allows zero-copy read of values from an underlying API in big endian format.
  • Trait that abstracts away an underlying API for a top-level object deserializer. The underlying API can provide pre-parsed i64/u64 or pre-bundled boxed slices.
  • Specifies objects that can receive the result of a TopEncode computation. in principle from NestedEncode performed on nested items.

Functions