Fix bug where it would return an incorrect value when attempting to decypher a chunk of data using an offset from a byte array.