![]() |
GridGain C++
|
Binary array reader. More...
#include <binary_containers.h>
Public Member Functions | |
BinaryArrayReader (impl::binary::BinaryReaderImpl *impl, int32_t id, int32_t size) | |
Constructor. More... | |
bool | HasNext () |
Check whether next element is available for read. More... | |
T | GetNext () |
Read next element. More... | |
int32_t | GetSize () |
Get array size. More... | |
bool | IsNull () |
Check whether array is NULL. More... | |
Binary array reader.
Can be used to read array of values of the specific type one by one.
Use GetNext() method to read array value by value while HasNext() method returns true.
|
inline |
Constructor.
Internal call. Should not be used by user.
impl | Reader implementation. |
id | Identifier. |
size | Array size. |
|
inline |
|
inline |
Get array size.
|
inline |
Check whether next element is available for read.
|
inline |
Check whether array is NULL.