I’m stupid, that’s what should be done:
buffer = IOBuffer()
serialize(buffer, [1,2,3])
seek(buffer,0)
deserialize(buffer)
which yields:
3-element Vector{Int64}:
1
2
3
Hope it can help someone else…
PS: found the answer in the tests
I’m stupid, that’s what should be done:
buffer = IOBuffer()
serialize(buffer, [1,2,3])
seek(buffer,0)
deserialize(buffer)
which yields:
3-element Vector{Int64}:
1
2
3
Hope it can help someone else…
PS: found the answer in the tests