github.com/dpirotte/go-lengthprefixed (go): Package lengthprefixed implements a Reader and Writer for reading, and writing, data in length-prefixed frames.  Each frame contains three parts: a varint representing the length of the data, N bytes of data, and 8 bytes (uint64) of checksum for the data.
Keywords: golang