I'm not sure, but it seems that the issue was with string conversion. Serialized data is not NUL-terminated and serialize function was writing data using strings. unsafe_string with specified length wrote all the data correctly but read(io, String) in deserialization function had problems with parsing this strings.
Current implementation manipulates data with Int8 arrays and works without problems.
Fixes #255
I'm not sure, but it seems that the issue was with string conversion. Serialized data is not NUL-terminated and
serialize
function was writing data using strings.unsafe_string
with specified length wrote all the data correctly butread(io, String)
in deserialization function had problems with parsing this strings.Current implementation manipulates data with Int8 arrays and works without problems.