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

  • xav@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    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.