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

Pumper cycle size. More...

#include <StormByte/buffer/pumper.hxx>

Public Member Functions

 Chunk (const StormByte::ByteSize value) noexcept
 Store the cycle size.
StormByte::ByteSize Value () const noexcept
 Cycle size.

Detailed Description

Pumper cycle size.

0 means automatic chunking, not "current contents".

Constructor & Destructor Documentation

◆ Chunk()

StormByte::Buffer::Chunk::Chunk ( const StormByte::ByteSize value)
inlineexplicitnoexcept

Store the cycle size.

Parameters
valueBytes. 0 = automatic.

Member Function Documentation

◆ Value()

StormByte::ByteSize StormByte::Buffer::Chunk::Value ( ) const
inlinenoexcept

Cycle size.

Returns
Bytes.

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