Question about `bincode`: variable-length types?
⚓ Rust 📅 2025-06-02 👤 surdeus 👁️ 9If I use bincode's Encode and Decode traits on a struct, will I be able to put (for example) a String in it, and forget about the length? I'm making a network protocol, and it would be so nice if I didn't have to keep track of the length of that field manually.
2 posts - 2 participants
🏷️ rust_feed