BigInt.decode

Create a BigInt from an integer in a ubyte array

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

Parameters

buf const(ubyte)*

the binary value to load

length size_t

size of buf

base Base

number-base of the integer in buf

Return Value

Type: BigInt

BigInt representing the integer in the ubyte array

Meta