1.2.2 • Published 4 years ago
@tatumio/pushdata-bitcoin v1.2.2
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)