val msg = upack.Arr(upack.Ext(33, new Array[Byte](4)), upack.False)
val bytes = upack.writeToByteArray(msg)
val msg2 = upack.read(bytes)
This decodes as upack.Arr(upack.Ext(33, new Array[Byte](4)), upack.Int32(33)) (the last bit is the problem: upack.Int32(33) instead of upack.False).
ID: 369
Original Author: harpocrates
Here's a minimal roundtripping failure:
This decodes as
upack.Arr(upack.Ext(33, new Array[Byte](4)), upack.Int32(33))
(the last bit is the problem:upack.Int32(33)
instead ofupack.False
). ID: 369 Original Author: harpocrates