Writes the header to chunk[0 .. this.read_length].
chunk without header
chunk (passed through)
CompressException if chunk is shorter than this.read_length
See Implementation
Writes the header to chunk[0 .. this.read_length].