45 ByteArray(
const unsigned char* data,
unsigned int length);
86 char at(
int pos)
const throw (out_of_range);
116 unsigned char& operator [](
int pos)
throw (out_of_range);
132 void copyFrom(
unsigned char* data,
unsigned int length);
142 void copyFrom(
int offset,
int length,
ByteArray& data,
int offset2);
147 std::istringstream * toStream();
155 void setDataPointer(
unsigned char* data,
unsigned int length);
160 unsigned char* getDataPointer();
175 unsigned int size()
const;
180 virtual std::string toString();
185 virtual std::string toHex();
190 virtual std::string toHex(
char separator);
195 static ByteArray xOr(vector<ByteArray> &array);
198 unsigned char* m_data;
bool operator!=(const ByteArray &left, const ByteArray &right)
Definition: ByteArray.cpp:107
Classe usada para transportar dados binários pelo sistema. Pode ser usada para conversão de texto em ...
Definition: ByteArray.h:24
bool operator==(const ByteArray &left, const ByteArray &right)
Definition: ByteArray.cpp:95