Reverse the ZigZag encoding produced by encodeZigZag.

Synopsis

Declared in <folly/Varint.h>

int64_t
decodeZigZag(uint64_t val);

Return Value

The original signed value.

Parameters

Name

Description

val

The ZigZag‐encoded unsigned value.

Created with MrDocs