Efficiently Store/Load a block of values using Run length encoding. More...
#include <algorithm>#include <iostream>#include <vsl/vsl_binary_io.h>#include <vsl/vsl_binary_explicit_io.h>Go to the source code of this file.
Functions | |
| template<class T > | |
| void | vsl_block_binary_rle_write (vsl_b_ostream &os, const T *begin, std::size_t nelems) |
| Write a block of values to a vsl_b_ostream, as (value count) pairs. More... | |
| template<class T > | |
| void | vsl_block_binary_rle_read (vsl_b_istream &is, T *begin, std::size_t nelems) |
| Read a block of values from a vsl_b_ostream, potentially very efficiently for fundamental types. More... | |
Efficiently Store/Load a block of values using Run length encoding.
Definition in file vsl_block_binary_rle.h.
|
inline |
Read a block of values from a vsl_b_ostream, potentially very efficiently for fundamental types.
Definition at line 47 of file vsl_block_binary_rle.h.
|
inline |
Write a block of values to a vsl_b_ostream, as (value count) pairs.
Definition at line 19 of file vsl_block_binary_rle.h.
1.8.15