phiryll / lexy

Lexicographical Byte Order Encodings
MIT License
0 stars 0 forks source link

Provide a Codec that omits type prefixes #26

Closed phiryll closed 3 months ago

phiryll commented 3 months ago

This can be used if you know the exact type of what you're decoding. Note that instances of different types will necessarily be unordered with respect to each other if you omit type information, and a range query on a heterogeneous data set could return multiple types.

phiryll commented 3 months ago

This is the default behavior.

Prefixes are specified by any Codec implementation that wishes to use them, they're an implementation detail.