Function readSVarint64
Decode one protobuf sint64 value.
bool readSVarint64(
scope ref WireCursor cursor,
out long value,
out WireStatus status
) nothrow @nogc @safe;
Parameters
| Name | Description |
|---|---|
| cursor | Cursor positioned at the first byte of the encoded varint. |
| value | Receives the ZigZag-decoded signed value on success. |
| status | Receives success or a wire-decoding failure. |
Returns
true on success; false if the underlying varint is invalid.