protected static int [ ] readInt32Batch ( ByteBuffer _bb ) { int count = _bb . getInt ( ) ; _bb . getInt ( ) ; int [ ] result = new int [ count ] ; for ( int i = 0 ; i < count ; i ++ ) { result [ i ] = _bb . getInt ( ) ; } return result ; }
Utility method to read a batch of int32