@muirglacier/jellyfish-transaction
Version:
A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance for Bitcoin
14 lines • 438 B
TypeScript
/// <reference types="node" />
import { SmartBuffer } from 'smart-buffer';
import { OPCode } from './opcode';
/**
* @param {OPCode[]} stack of OPCode
* @return Buffer presentation of OPCode[]
*/
export declare function toBuffer(stack: OPCode[]): Buffer;
/**
* @param {Buffer} buffer to read without VarUInt
* @return OPCode[]
*/
export declare function toOPCodes(buffer: SmartBuffer): OPCode[];
//# sourceMappingURL=_buffer.d.ts.map