GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::SizeCountingWriter Class Reference

#include <GREM/core/data/Writer.hpp>

Inheritance diagram for grem::SizeCountingWriter:

Public Member Functions

GREM_ALWAYS_INLINE SizeCountingWriter (size_t &output) noexcept
GREM_ALWAYS_INLINE operator Writer () const
GREM_ALWAYS_INLINE size_t writeSome (Span< const byte > data, bool thenFlush=false)
GREM_ALWAYS_INLINE void write (Span< const byte > data, bool thenFlush=false)
GREM_ALWAYS_INLINE void flush ()

Constructor & Destructor Documentation

◆ SizeCountingWriter()

GREM_ALWAYS_INLINE grem::SizeCountingWriter::SizeCountingWriter ( size_t & output)
inlinenoexcept

Member Function Documentation

◆ operator Writer()

GREM_ALWAYS_INLINE grem::SizeCountingWriter::operator Writer ( ) const
inlinenodiscard

◆ writeSome()

GREM_ALWAYS_INLINE size_t grem::SizeCountingWriter::writeSome ( Span< const byte > data,
bool thenFlush = false )
inlinenodiscard

◆ write()

GREM_ALWAYS_INLINE void grem::SizeCountingWriter::write ( Span< const byte > data,
bool thenFlush = false )
inline

◆ flush()

GREM_ALWAYS_INLINE void grem::SizeCountingWriter::flush ( )
inline

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