Searched refs:StreamState (Results 1 – 1 of 1) sorted by relevance
53 template <typename T> class StreamState {60 StreamState(T (&buffer)[size]) : begin_(&buffer[0]), end_(&buffer[size]), pos_(begin_) {} in StreamState() function61 StreamState(T* buffer, size_t size) : begin_(buffer), end_(buffer + size), pos_(begin_) {} in StreamState() function62 StreamState() : begin_(nullptr), end_(nullptr), pos_(nullptr) {} in StreamState() function63 StreamState& operator+=(size_t offset) {109 using WriteStream = StreamState<uint8_t>;110 using ReadStream = StreamState<const uint8_t>;