StormByte-Buffer 4.0.0
C++26 buffer module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Buffer::IO::WriteChunk Class Reference

Ring unit and drain trigger. More...

#include <StormByte/buffer/io/parameters.hxx>

Public Member Functions

 WriteChunk (const StormByte::ByteSize value) noexcept
 Store the chunk size.
StormByte::ByteSize Value () const noexcept
 Chunk size.

Detailed Description

Ring unit and drain trigger.

0 disables the writer ring.

Constructor & Destructor Documentation

◆ WriteChunk()

StormByte::Buffer::IO::WriteChunk::WriteChunk ( const StormByte::ByteSize value)
inlineexplicitnoexcept

Store the chunk size.

Parameters
valueBytes. 0 disables the ring.

Member Function Documentation

◆ Value()

StormByte::ByteSize StormByte::Buffer::IO::WriteChunk::Value ( ) const
inlinenoexcept

Chunk size.

Returns
Bytes.

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