#include <BinaryEncoder.h>
|
static void | encodeInteger (std::vector< char > &encodedData, int32_t integer) |
|
static void | encodeInteger (std::vector< uint8_t > &encodedData, int32_t integer) |
|
static void | encodeInteger64 (std::vector< char > &encodedData, int64_t integer) |
|
static void | encodeInteger64 (std::vector< uint8_t > &encodedData, int64_t integer) |
|
static void | encodeByte (std::vector< char > &encodedData, uint8_t byte) |
|
static void | encodeByte (std::vector< uint8_t > &encodedData, uint8_t byte) |
|
static void | encodeString (std::vector< char > &packet, const std::string &string) |
|
static void | encodeString (std::vector< uint8_t > &encodedData, const std::string &string) |
|
static void | encodeBinary (std::vector< char > &packet, const std::vector< uint8_t > &data) |
|
static void | encodeBinary (std::vector< uint8_t > &encodedData, const std::vector< uint8_t > &data) |
|
static void | encodeBoolean (std::vector< char > &encodedData, bool boolean) |
|
static void | encodeBoolean (std::vector< uint8_t > &encodedData, bool boolean) |
|
static void | encodeFloat (std::vector< char > &encodedData, double floatValue) |
|
static void | encodeFloat (std::vector< uint8_t > &encodedData, double floatValue) |
|
§ BinaryEncoder() [1/2]
BaseLib::BinaryEncoder::BinaryEncoder |
( |
| ) |
|
|
default |
§ BinaryEncoder() [2/2]
Dummy constructor for backwards compatability.
§ encodeBinary() [1/2]
void BaseLib::BinaryEncoder::encodeBinary |
( |
std::vector< char > & |
packet, |
|
|
const std::vector< uint8_t > & |
data |
|
) |
| |
|
static |
§ encodeBinary() [2/2]
void BaseLib::BinaryEncoder::encodeBinary |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
const std::vector< uint8_t > & |
data |
|
) |
| |
|
static |
§ encodeBoolean() [1/2]
void BaseLib::BinaryEncoder::encodeBoolean |
( |
std::vector< char > & |
encodedData, |
|
|
bool |
boolean |
|
) |
| |
|
static |
§ encodeBoolean() [2/2]
void BaseLib::BinaryEncoder::encodeBoolean |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
bool |
boolean |
|
) |
| |
|
static |
§ encodeByte() [1/2]
void BaseLib::BinaryEncoder::encodeByte |
( |
std::vector< char > & |
encodedData, |
|
|
uint8_t |
byte |
|
) |
| |
|
static |
§ encodeByte() [2/2]
void BaseLib::BinaryEncoder::encodeByte |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
uint8_t |
byte |
|
) |
| |
|
static |
§ encodeFloat() [1/2]
void BaseLib::BinaryEncoder::encodeFloat |
( |
std::vector< char > & |
encodedData, |
|
|
double |
floatValue |
|
) |
| |
|
static |
§ encodeFloat() [2/2]
void BaseLib::BinaryEncoder::encodeFloat |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
double |
floatValue |
|
) |
| |
|
static |
§ encodeInteger() [1/2]
void BaseLib::BinaryEncoder::encodeInteger |
( |
std::vector< char > & |
encodedData, |
|
|
int32_t |
integer |
|
) |
| |
|
static |
§ encodeInteger() [2/2]
void BaseLib::BinaryEncoder::encodeInteger |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
int32_t |
integer |
|
) |
| |
|
static |
§ encodeInteger64() [1/2]
void BaseLib::BinaryEncoder::encodeInteger64 |
( |
std::vector< char > & |
encodedData, |
|
|
int64_t |
integer |
|
) |
| |
|
static |
§ encodeInteger64() [2/2]
void BaseLib::BinaryEncoder::encodeInteger64 |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
int64_t |
integer |
|
) |
| |
|
static |
§ encodeString() [1/2]
void BaseLib::BinaryEncoder::encodeString |
( |
std::vector< char > & |
packet, |
|
|
const std::string & |
string |
|
) |
| |
|
static |
§ encodeString() [2/2]
void BaseLib::BinaryEncoder::encodeString |
( |
std::vector< uint8_t > & |
encodedData, |
|
|
const std::string & |
string |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: