This solution looks like it may do the trick. Unfortunately, when I had
serialized my object to its string format, it had some non-standard content:
0x7ffff6dd4fee: 1 0 0 0 0 0 0 0
0x7ffff6dd4ff6: 42 0 0 0 0 0 96 106
0x7ffff6dd4ffe: 71
Is there a good way (apart from building a sequence up byte by byte and then converting it to a string) to tell Nim that this 17 byte buffer should be read as a string?
