Loading...
Searching...
No Matches
InputStream.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
virtual std::optional< std::size_t > tell()=0
Get the current reading position in the stream.
virtual std::optional< std::size_t > getSize()=0
Return the size of the stream.
virtual std::optional< std::size_t > read(void *data, std::size_t size)=0
Read data from the stream.
virtual std::optional< std::size_t > seek(std::size_t position)=0
Change the current reading position.
Definition AudioResource.hpp:36