decode

Converts a ubyte string to LEB128 number

  1. DecodeLEB128!T decode(const(ubyte[]) data)
    @safe @nogc pure nothrow
    DecodeLEB128!T
    decode
    (
    T = ulong
    )
    (
    const(ubyte[]) data
    )
    if (
    isUnsigned!T
    )
  2. DecodeLEB128!T decode(const(ubyte[]) data)

Return Value

Type: DecodeLEB128!T

The value and the size In case of an error this size is set to zero