![]() |
PIP 5.5.3
Platform-Independent Primitives
|
Byte array. More...
Classes | |
| class | PIByteArray |
| The PIByteArray class provides an array of bytes. More... | |
Functions | |
| bool | operator< (const PIByteArray &v0, const PIByteArray &v1) |
| Byte arrays compare operator. | |
| bool | operator> (const PIByteArray &v0, const PIByteArray &v1) |
| Byte arrays compare operator. | |
| bool | operator== (const PIByteArray &v0, const PIByteArray &v1) |
| Byte arrays compare operator. | |
| bool | operator!= (const PIByteArray &v0, const PIByteArray &v1) |
| Byte arrays compare operator. | |
| PIByteArray | operator& (const PIByteArray &v0, const PIByteArray &v1) |
| Returns bit-wise "and". If non-equal size, then returns empty PIByteArray. | |
| PIByteArray | operator| (const PIByteArray &v0, const PIByteArray &v1) |
| Returns bit-wise "or". If non-equal size, then returns empty PIByteArray. | |
| PIByteArray | operator^ (const PIByteArray &v0, const PIByteArray &v1) |
| Returns bit-wise "xor". If non-equal size, then returns empty PIByteArray. | |
| PICout | operator<< (PICout s, const PIByteArray &ba) |
| Output operator to PICout. | |
| template<typename P > | |
| PIBinaryStream< P > & | operator<< (PIBinaryStream< P > &s, const PIByteArray &v) |
| Store operator. | |
| template<typename P > | |
| PIBinaryStream< P > & | operator>> (PIBinaryStream< P > &s, PIByteArray &v) |
| Restore operator. | |
| template<> | |
| uint | piHash (const PIByteArray &ba) |
| Returns PIByteArray::hash() of "ba". | |
| template<> | |
| void | piSwap (PIByteArray &f, PIByteArray &s) |
| Swap contents betwee "f" and "s". | |
| template<typename T > | |
| PIByteArray | piSerialize (const T &value) |
| Store "value" to bytearray and returns it. | |
| template<typename T > | |
| T | piDeserialize (const PIByteArray &data) |
| Restore type "T" from bytearray "data" and returns it. | |
Byte array.