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

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

Inheritance diagram for grem::SpanWriter:

Public Member Functions

GREM_ALWAYS_INLINE SpanWriter (Span< byte > &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

◆ SpanWriter()

GREM_ALWAYS_INLINE grem::SpanWriter::SpanWriter ( Span< byte > & output)
inlinenoexcept

Member Function Documentation

◆ operator Writer()

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

◆ writeSome()

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

◆ write()

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

◆ flush()

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

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