public int getAsByteArrayOffset ( ) { if ( position >= length ) return - 1 ; final int begin = position ; final int size = OBinaryProtocol . bytes2int ( buffer , position ) ; position += OBinaryProtocol . SIZE_INT + size ; return begin ; }
Browse the stream but just return the begin of the byte array . This is used to lazy load the information only when needed .