Functions for encoding and decoding integers with zigzag compression. More...
#include <stdint.h>
#include <boost/array.hpp>
#include "Config.hh"
Go to the source code of this file.
Namespaces | |
namespace | avro |
A bunch of templates and specializations for encoding and decoding specific types. | |
Functions | |
AVRO_DECL uint64_t | avro::encodeZigzag64 (int64_t input) |
AVRO_DECL int64_t | avro::decodeZigzag64 (uint64_t input) |
AVRO_DECL uint32_t | avro::encodeZigzag32 (int32_t input) |
AVRO_DECL int32_t | avro::decodeZigzag32 (uint32_t input) |
AVRO_DECL size_t | avro::encodeInt32 (int32_t input, boost::array< uint8_t, 5 > &output) |
AVRO_DECL size_t | avro::encodeInt64 (int64_t input, boost::array< uint8_t, 10 > &output) |
Functions for encoding and decoding integers with zigzag compression.