Serialization
An 8-byte identifying header is written to the stream first. To avoid writing the header, construct a and use it as the first argument to serialize
instead. See also .
Open a file and serialize the given value to it.
Read a value written by . deserialize
assumes the binary data read from stream
is correct and has been serialized by a compatible implementation of . It has been designed with simplicity and performance as a goal and does not validate the data read. Malformed data can result in process termination. The caller has to ensure the integrity and correctness of data read from stream
.
This method is available as of Julia 1.1.
Write an identifying header to the specified serializer. The header consists of 8 bytes as follows: