Nikolay Chechulin
Results
12
comments of
Nikolay Chechulin
Hi! I am serializing a series of structs, and writing them individually to a binary file. Could you please show which function in `rmp::decode` should I use to get the...
UPD: as a workaround, one can simply write the size of serialized struct before the actual data: ```rust // encoding (pseudocode) writer.write(size.to_bytes()); writer.write(serialized_bytes()); // decoding while buf.len() > 0 {...