fromZigZag

Decodes a number from its zigzag encoding

@nogc pure nothrow @safe @property
Signed!T
fromZigZag
(
T
)
(
in T src
)
if (
isIntegral!T &&
isUnsigned!T
)

Parameters

src T

The zigzag-encoded value to decode

Return Value

Type: Signed!T

The raw integer

Meta