varuint-bitcoin
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

varuint-bitcoin

NPM Package Build Status

abstract-encoding

js-standard-style

encode/decode number as bitcoin variable length integer

value storage length (bytes)
[0, 0xfd) 1
[0xfd, 0xffff] 3
[0x010000, 0xffffffff] 5
[0x0100000000, 0x1fffffffffffff] 9

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i varuint-bitcoin

Weekly Downloads

124,138

Version

1.1.2

License

MIT

Unpacked Size

5.49 kB

Total Files

5

Last publish

Collaborators

  • fanatid
  • jprichardson
  • junderw
  • mappum