BigInt.encodeLocked

Encode the integer value from a BigInt to a Secure Array of bytes

  1. SecureVector!ubyte encodeLocked(const(BigInt)* n, Base base)
    struct BigInt
    static
    SecureVector!ubyte
    encodeLocked
    (
    const(BigInt)* n
    ,
    Base base = Binary
    )
  2. SecureVector!ubyte encodeLocked(BigInt n, Base base)

Parameters

n const(BigInt)*

the BigInt to use as integer source

base Base

number-base of resulting ubyte array representation

Return Value

Type: SecureVector!ubyte

SecureVector of bytes containing the integer with given base

Meta