Function OpenVDS::WriteElement
-
template<typename T>
inline void OpenVDS::WriteElement(T *buffer, size_t element, T value) Write element into buffer. This function has a template specialisation for bool making it suitable to write single bits into a buffer with packed bits.
- Parameters:
buffer – Buffer to write to
element – The element index in the buffer to write to
value – Value to write