dart_bitcoin_pushdata 1.0.4 icon indicating copy to clipboard operation
dart_bitcoin_pushdata: ^1.0.4 copied to clipboard

Package where you can encode and decode the value as Bitcoin OP_PUSHDATA integer.

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
}

LICENSE MIT #

0
likes
140
pub points
0%
popularity

Publisher

verified publisher iconmahsumurebe.com

Package where you can encode and decode the value as Bitcoin OP_PUSHDATA integer.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

dart_bitcoin_ops

More

Packages that depend on dart_bitcoin_pushdata