New awesome version of deku_string

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

https://crates.io/crates/deku_string

12 points · 1 comments · view on lemmy.world

1 Comments

xav@programming.dev · 4 pts · 1y

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.