New awesome version of deku_string
from blazebra@programming.dev to rust@programming.dev on 14 Aug 16:32
https://programming.dev/post/35679366
from blazebra@programming.dev to rust@programming.dev on 14 Aug 16:32
https://programming.dev/post/35679366
What’s new:
- UTF-32 support
- Optional serde support
- 7-bit encoded unsigned integers like in .Net of all known fixed sizes
- 7bit encoded u32 can be used as a size, to parse .Net strings
- Unified implementation.
More is coming
threaded - newest
deku_string
is an utility crate for Deku that provides convenient support for serializing and deserializing strings in a variety of binary formats. It handles UTF-8, UTF-16 and UTF-32 encoded strings and is suitable for parsing various string layouts.