Home
last modified time | relevance | path

Searched refs:StreamState (Results 1 – 1 of 1) sorted by relevance

/system/teeui/libteeui/include/teeui/
Dmsg_formatting.h53 template <typename T> class StreamState {
60 StreamState(T (&buffer)[size]) : begin_(&buffer[0]), end_(&buffer[size]), pos_(begin_) {} in StreamState() function
61 StreamState(T* buffer, size_t size) : begin_(buffer), end_(buffer + size), pos_(begin_) {} in StreamState() function
62 StreamState() : begin_(nullptr), end_(nullptr), pos_(nullptr) {} in StreamState() function
63 StreamState& operator+=(size_t offset) {
109 using WriteStream = StreamState<uint8_t>;
110 using ReadStream = StreamState<const uint8_t>;