struct arisen::signed_int

Public Attributes

Type

Name

int32_t

value

Public Functions

Type

Name

signed_int (int32_t v = 0)

Detailed Description

Variable Length Signed Integer. This provides more efficient serialization of 32-bit signed int. It serializes a 32-bit signed integer in as few bytes as possible.

Note:

`varint32' is signed and uses Zig-Zag encoding

Public Attributes Documentation

variable value

int32_t arisen::signed_int::value;

Public Functions Documentation

function signed_int

arisen::signed_int::signed_int(
    int32_t v = 0
)

Construct a new signed int object

Parameters:

v - Source

The documentation for this class was generated from the following file: libraries/arisenlib/core/arisen/varint.hpp