Serialization-Impl.h
Go to the documentation of this file.
void Resize(size_t size, const T &initVal=T())
Resizes the array with size and fill the new element with initVal.
Definition: Array1-Impl.h:83
const T *const data() const
Returns the raw pointer to the array data.
Definition: ArrayAccessor1-Impl.h:225
1-D read-only array accessor class.
Definition: ArrayAccessor1.h:185
Definition: pybind11Utils.h:24
void Deserialize(const std::vector< uint8_t > &buffer, Array1< T > *array)
Deserializes buffer to data chunk using common schema.
Definition: Serialization-Impl.h:22
size_t size() const
Returns size of the array.
Definition: ArrayAccessor1-Impl.h:219
void Serialize(const ConstArrayAccessor1< T > &array, std::vector< uint8_t > *buffer)
Serializes data chunk using common schema.
Definition: Serialization-Impl.h:15
T * data()
Returns the raw pointer to the array data.
Definition: Array1-Impl.h:109