0 purchases
dart bitcoin pushdata
pushdata-bitcoin #
Encode/decode value as bitcoin OP_PUSHDATA integer
Example #
import 'dart:typed_data';
import 'package:dart_bitcoin_pushdata/dart_bitcoin_pushdata.dart';
void main() {
var i = 120;
var buffer = ByteData(encodingLength(i));
final encoded = encode(buffer, i);
print(encoded);
// => 2
}
copied to clipboard
LICENSE MIT #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.