Potato Engine
Hobby Game Engine Project
Classes | Public Types | Public Member Functions | List of all members
up::Stream Class Reference

Classes

class  Backend
 

Public Types

using size_type = uint64
 
using difference_type = int64
 

Public Member Functions

 Stream (box< Backend > impl) noexcept
 
 Stream (std::nullptr_t) noexcept
 
Streamoperator= (box< Backend > impl) noexcept
 
Streamoperator= (std::nullptr_t) noexcept
 
bool isOpen () const noexcept
 
bool isEof () const noexcept
 
bool canRead () const noexcept
 
bool canWrite () const noexcept
 
bool canSeek () const noexcept
 
 operator bool () const noexcept
 
IOResult seek (SeekPosition position, difference_type offset)
 
difference_type tell () const
 
difference_type remaining () const
 
IOResult read (span< byte > &buffer)
 
IOResult write (span< byte const > buffer)
 
IOResult flush ()
 
void close ()
 

The documentation for this class was generated from the following file: