An array of uint8_t.
More...
#include <Serialize.h>
|
| VarArray (std::vector< uint8_t > const &v) |
|
| VarArray (uint8_t const *&in, size_t &size) |
|
std::vector< uint8_t > | value () const |
| Returns the bytes contained in the array.
|
|
|
virtual void | serialize (std::vector< uint8_t > &out) const override |
|
json | toJson () const override |
|
template<>
class P2p::VarArray< uint8_t >
An array of uint8_t.
This is primarily used for serialization of an array of uint8_t along with the number of elements in the array.
- See also
- VASize
- Parameters
-
v | The bytes to be contained in the array |
- Parameters
-
[in,out] | in | pointer to the next byte to deserialize |
[in,out] | size | number of bytes remaining in the serialized stream |
The documentation for this class was generated from the following file: