@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
12 lines • 631 B
TypeScript
import type { MemorySlotPointer } from './types.js';
export declare class BufferHelper {
static readonly EXPECTED_BUFFER_LENGTH: number;
static bufferToUint8Array(buffer: Uint8Array): Uint8Array;
static uint8ArrayToHex(input: Uint8Array): string;
static hexToUint8Array(input: string): Uint8Array;
static pointerToUint8Array(pointer: MemorySlotPointer): Uint8Array;
static uint8ArrayToPointer(input: Uint8Array): MemorySlotPointer;
static valueToUint8Array(value: bigint, length?: number): Uint8Array;
static uint8ArrayToValue(input: Uint8Array): bigint;
}
//# sourceMappingURL=BufferHelper.d.ts.map