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)
  3. BigInt decode(Vector!(ubyte, ALLOC) buf, Base base)
    struct BigInt
    static
    decode
    (
    ALLOC
    )
    (
    auto const ref Vector!(ubyte, ALLOC) buf
    ,
    Base base = Binary
    )
  4. BigInt decode(const(Vector!(ubyte, ALLOC)*) buf, Base base)

Parameters

buf Vector!(ubyte, 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