node_modules/bson/lib/long.js
/**
     * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.
     *  See the from* functions below for more convenient ways of constructing Longs.
     *
     * Acceptable signatures are:
     * - Long(low, high, unsigned?)
     * - Long(bigint, unsigned?)
     * - Long(string, unsigned?)
     *
     * @param low - The low (signed) 32 bits of the long
     * @param high - The high (signed) 32 bits of the long
     * @param unsigned - Whether unsigned or not, defaults to signed
     */
Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.
See the from* functions below for more convenient ways of constructing Longs.



@param low - The low (signed) 32 bits of the long
@param high - The high (signed) 32 bits of the long
@param unsigned - Whether unsigned or not, defaults to signed
Constructs a 64 bit two ' s - complement integer given its low and high 32 bit values as * signed * integers . See the from * functions below for more convenient ways of constructing Longs . @param low - The low ( signed ) 32 bits of the long @param high - The high ( signed ) 32 bits of the long @param unsigned - Whether unsigned or not defaults to signed
function Long(low, high, unsigned) {
        if (low === void 0) { low = 0; }
        if (!(this instanceof Long))
            return new Long(low, high, unsigned);
        if (typeof low === 'bigint') {
            Object.assign(this, Long.fromBigInt(low, !!high));
        }
        else if (typeof low === 'string') {
            Object.assign(this, Long.fromString(low, !!high));
        }
        else {
            this.low = low | 0;
            this.high = high | 0;
            this.unsigned = !!unsigned;
        }
        Object.defineProperty(this, '__isLong__', {
            value: true,
            configurable: false,
            writable: false,
            enumerable: false
        });
    }
function Long ( low , high , unsigned ) { if ( low === void 0 ) { low = 0 ; } if ( ! ( this instanceof Long ) ) return new Long ( low , high , unsigned ) ; if ( typeof low === 'bigint' ) { Object . assign ( this , Long . fromBigInt ( low , ! ! high ) ) ; } else if ( typeof low === 'string' ) { Object . assign ( this , Long . fromString ( low , ! ! high ) ) ; } else { this . low = low | 0 ; this . high = high | 0 ; this . unsigned = ! ! unsigned ; } Object . defineProperty ( this , '__isLong__' , { value : true , configurable : false , writable : false , enumerable : false } ) ; }
Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.
Constructs a 64 bit two ' s - complement integer given its low and high 32 bit values as * signed * integers .