fromVarint

Decode a VarInt-encoded series of bytes into an unsigned value

  1. T fromVarint(R src)
    @property
    T
    fromVarint
    (
    T = ulong
    R
    )
    (
    R src
    )
    if (
    isInputRange!R &&
    is(ElementType!R : const ubyte)
    &&
    isIntegral!T
    &&
    isUnsigned!T
    )
  2. T fromVarint(R src)

Parameters

src R

The data stream

Return Value

Type: T

The decoded value

Meta