@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
31 lines • 855 B
TypeScript
export declare class CustomMap<K, V> implements Disposable {
#private;
private static readonly INITIAL_CAPACITY;
private static readonly LOAD_FACTOR;
private deleted;
private capacity;
constructor();
private _size;
get size(): number;
set(key: K, value: V): boolean;
get(key: K): V | undefined;
has(key: K): boolean;
indexOf(key: K): number;
delete(key: K): boolean;
clear(): void;
[Symbol.dispose](): void;
entries(): MapIterator<[K, V]>;
keys(): MapIterator<K>;
values(): MapIterator<V>;
[Symbol.iterator](): MapIterator<[K, V]>;
private hashBigInt;
private hash;
private hashBuffer;
private equals;
private buffersEqual;
private getBytes;
private findIndex;
private findInsertIndex;
private resize;
}
//# sourceMappingURL=CustomMap.d.ts.map