public short readVarShort ( int optimal ) throws IOException { int [ ] varShortDepths = { optimal , 16 } ; final int type = ( int ) this . read ( 1 ) . toLong ( ) ; return ( short ) this . read ( varShortDepths [ type ] ) . toLong ( ) ; }
Read var short short .