code: public byte []
  readByteArray() {
  	int len = remaining();
  	byte [] out = new byte[len];
  	byteBuffer.get(out, 0, len);
  	return out;
  }
docs: Reads a byte array consisting of the remainder of the stream (or the
  active region, if one is set.
  @return The byte array.