View Source BitcoinLib.Signing.Psbt.CompactInteger (BitcoinLib v0.4.7)
Extracts a variable length integer from a binary
based on https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer
Link to this section Summary
Functions
Encodes an integer according to the spec linked to in the moduledoc
Extracts a variable length integer from a bitstring according to the spec linked in the moduledoc, returns a tuple containing the integer with the remaining of the bitstring
Link to this section Types
@type t() :: BitcoinLib.Signing.Psbt.CompactInteger
Link to this section Functions
Encodes an integer according to the spec linked to in the moduledoc
Extracts a variable length integer from a bitstring according to the spec linked in the moduledoc, returns a tuple containing the integer with the remaining of the bitstring