Class ov::util::StringViewStreamBuf#

class StringViewStreamBuf : public std::streambuf#

A custom stream buffer that provides read-only access to a string view.

This class inherits from std::streambuf and is designed to facilitate input operations directly on a std::string_view without copying the underlying string data. It allows for efficient reading and seeking operations within the string view.

See also

pyopenvino/utils/utils.hpp for a similar implementation

Note

This stream buffer is intended for input operations only.