pushdata-bitcoin
Encode/decode value as bitcoin OP_PUSHDATA
integer
Example
var pushdata = require('pushdata-bitcoin')
var i = 120
var buffer = new Buffer(pushdata.encodingLength(i))
pushdata.encode(buffer, i)
Encode/decode value as bitcoin OP_PUSHDATA
integer
var pushdata = require('pushdata-bitcoin')
var i = 120
var buffer = new Buffer(pushdata.encodingLength(i))
pushdata.encode(buffer, i)
npm i @tatumio/pushdata-bitcoin
236
1.2.2
MIT
4.24 kB
4