BigInt.decode

Create a BigInt from an integer in a ubyte array

  1. BigInt decode(const(ubyte)* buf, size_t length, Base base)
  2. BigInt decode(RefCounted!(Vector!(ubyte, ALLOC), ALLOC) buf, Base base)
    struct BigInt
    static
    decode
    (
    ALLOC
    )
    (
    auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) buf
    ,
    Base base = Binary
    )
  3. BigInt decode(Vector!(ubyte, ALLOC) buf, Base base)

Parameters

buf RefCounted!(Vector!(ubyte, ALLOC), ALLOC)

the binary value to load

base Base

number-base of the integer in buf

Return Value

Type: BigInt

BigInt representing the integer in the ubyte array

Meta