lize
A very stupid way of serializing and deserializing data into bytes. I mean, the performance is essentially the same as bincode (which is really disappointing), so there's nothing to really see here.
lize supports recursive data structures.
First, we create a Value.
use ;
// We support HashMap's!
let value = HashMap;
Then, we can serialize it into a buffer, then deserialize it back.
// We can serialize into a (small)vec...
let mut buf = new;
value.serialize_into?;
// ...and deserialize back
let deserialized = deserialize_from?;
Finally... match-ing time!
match deserialized
(c) 2024 AWeirdDev