code: public ByteArray readBytes(int size) throws IOException
     {
        byte[] data = new byte[size];
        m_stream.read(data);
        return new ByteArray(data);
     }
docs: Read an array of bytes of a specified size.
  
  @param size number of bytes to read
  @return ByteArray instance