struct eosio::signed_int

Class List > eosio :: 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 eosio::signed_int::value;

Contained value

Public Functions Documentation

function signed_int

eosio::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: in/eosio.cdt/libraries/eosiolib/core/eosio/varint.hpp

results matching ""

    No results matching ""