clj-headlights.nippy
fast-encode-stream
(fast-encode-stream stream data)
Encode the given data with nippy, write the length of the resulting byte array on the stream as an integer, then write the serialized data. Returns the number of bytes written.
(fast-encode-stream stream data)
Encode the given data with nippy, write the length of the resulting byte array on the stream as an integer, then write the serialized data. Returns the number of bytes written.