readBytes

Reads this whole buffer and returns it as a new ByteArray, up to Int.MAX_VALUE bytes.