Module ule

Source

Functionsยง

derive_impl
generate_ule_validators ๐Ÿ”’
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_ule_fields ๐Ÿ”’
Make corresponding ULE fields for each field