BigInt.encode

Encode the integer value from a BigInt to a ubyte array

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

Parameters

output ubyte*

destination ubyte array for the encoded integer value with given base

n const(BigInt)*

the BigInt to use as integer source

base Base

number-base of resulting ubyte array representation

Meta