question: 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 ; } }
target:  Loading method. (see NBT_Tag)