BigInt.encode

Encode the integer value from a BigInt to a ubyte array

  1. Vector!ubyte encode(BigInt n, Base base)
  2. void encode(ubyte* output, BigInt n, Base base)
    struct BigInt
    static
    void
    encode
    ()
    (
    ubyte* output
    ,
    auto const ref BigInt n
    ,
    Base base = Binary
    )

Parameters

output ubyte*

destination ubyte array for the encoded integer value with given base

n BigInt

the BigInt to use as integer source

base Base

number-base of resulting ubyte array representation

Meta