littlebyte helps construct binary files with little-endian length-prefixed fields. It is based on x/crypto/cryptobyte.