public static int nextVLongSize(ByteData arr, long position) {
    """
	Determine the size (in bytes) of the variable length long in the supplied {@link ByteData}, starting at the specified position.
	@param arr the byte data to read from
	@param position the position in the byte data to read from
	@return the long value
    """
        byte b = arr.get(position++);

        if(b == (byte) 0x80)
            return 1;

        int length = 1;

        while((b & 0x80) != 0) {
            b = arr.get(position++);
            length++;
        }

        return length;
    }
public static int nextVLongSize(ByteData arr, long position) {
        byte b = arr.get(position++);

        if(b == (byte) 0x80)
            return 1;

        int length = 1;

        while((b & 0x80) != 0) {
            b = arr.get(position++);
            length++;
        }

        return length;
    }
public static int nextVLongSize ( ByteData arr , long position ) { byte b = arr . get ( position ++ ) ; if ( b == ( byte ) 0x80 ) return 1 ; int length = 1 ; while ( ( b & 0x80 ) != 0 ) { b = arr . get ( position ++ ) ; length ++ ; } return length ; }
Determine the size (in bytes) of the variable length long in the supplied {@link ByteData}, starting at the specified position.
@param arr the byte data to read from
@param position the position in the byte data to read from
@return the long value
Determine the size ( in bytes ) of the variable length long in the supplied {