zerovec_derive

Module ule

Source

Functions§

  • Given an slice over ULE struct fields, returns code validating that a slice variable bytes contains valid instances of those ULE types in order, plus the byte offset of any remaining unvalidated bytes. ULE types should not have any remaining bytes, but VarULE types will since the last field is the unsized one.
  • Make corresponding ULE fields for each field