protected void parse(DataInputStream stream) throws Exception {
  int size=stream.readInt();
  int ret, read=0;
  data=new byte[size];
  while (size > 0) {
    ret=stream.read(data,read,size);
    size-=ret;
    read+=ret;
  }
}

protected void parse ( DataInputStream stream ) throws Exception { int size = stream . readInt ( ) ; int ret , read = 0 ; data = new byte [ size ] ; while ( size > 0 ) { ret = stream . read ( data , read , size ) ; size -= ret ; read += ret ; } }
loading method . ( see nbt_tag )
