Spaces:
Running
Running
File size: 2,505 Bytes
78c921d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
/** @ignore */
export declare class BaseInt64 {
protected buffer: Uint32Array;
constructor(buffer: Uint32Array);
high(): number;
low(): number;
protected _times(other: BaseInt64): this;
protected _plus(other: BaseInt64): void;
lessThan(other: BaseInt64): boolean;
equals(other: BaseInt64): boolean;
greaterThan(other: BaseInt64): boolean;
hex(): string;
}
/** @ignore */
export declare class Uint64 extends BaseInt64 {
times(other: Uint64): Uint64;
plus(other: Uint64): Uint64;
/** @nocollapse */
static from(val: any, out_buffer?: Uint32Array): Uint64;
/** @nocollapse */
static fromNumber(num: number, out_buffer?: Uint32Array): Uint64;
/** @nocollapse */
static fromString(str: string, out_buffer?: Uint32Array): Uint64;
/** @nocollapse */
static convertArray(values: (string | number)[]): Uint32Array;
/** @nocollapse */
static multiply(left: Uint64, right: Uint64): Uint64;
/** @nocollapse */
static add(left: Uint64, right: Uint64): Uint64;
}
/** @ignore */
export declare class Int64 extends BaseInt64 {
negate(): Int64;
times(other: Int64): Int64;
plus(other: Int64): Int64;
lessThan(other: Int64): boolean;
/** @nocollapse */
static from(val: any, out_buffer?: Uint32Array): Int64;
/** @nocollapse */
static fromNumber(num: number, out_buffer?: Uint32Array): Int64;
/** @nocollapse */
static fromString(str: string, out_buffer?: Uint32Array): Int64;
/** @nocollapse */
static convertArray(values: (string | number)[]): Uint32Array;
/** @nocollapse */
static multiply(left: Int64, right: Int64): Int64;
/** @nocollapse */
static add(left: Int64, right: Int64): Int64;
}
/** @ignore */
export declare class Int128 {
private buffer;
constructor(buffer: Uint32Array);
high(): Int64;
low(): Int64;
negate(): Int128;
times(other: Int128): Int128;
plus(other: Int128): Int128;
hex(): string;
/** @nocollapse */
static multiply(left: Int128, right: Int128): Int128;
/** @nocollapse */
static add(left: Int128, right: Int128): Int128;
/** @nocollapse */
static from(val: any, out_buffer?: Uint32Array): Int128;
/** @nocollapse */
static fromNumber(num: number, out_buffer?: Uint32Array): Int128;
/** @nocollapse */
static fromString(str: string, out_buffer?: Uint32Array): Int128;
/** @nocollapse */
static convertArray(values: (string | number)[]): Uint32Array;
}
|