Add Definition::Sequence::length_width field which allows specifying
the width of the length tag for dynamically-sized arrays. This allows
defining custom schema where length is, say, one-byte.
Furthermore, support length_width being zero which indicates untagged
sequences. Use that as a new way to describe a fixed-length arrays
thus making Definition::Array no longer necessary.
Lastly, zero length_width with length range which is more than just
one value allows to document a custom encoding which cannot be fully
specified with the schema.
Add Definition::Sequence::length_width field which allows specifying the width of the length tag for dynamically-sized arrays. This allows defining custom schema where length is, say, one-byte.
Furthermore, support length_width being zero which indicates untagged sequences. Use that as a new way to describe a fixed-length arrays thus making Definition::Array no longer necessary.
Lastly, zero length_width with length range which is more than just one value allows to document a custom encoding which cannot be fully specified with the schema.
resolves #211 (
VarInt
andSmallVec<T>
)