Add packet compression and methods for reading bytes to an existing array.