StormByte-Buffer 2.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

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

Detailed Description

Pumper cycle size.

0 means automatic chunking, not "current contents".

Constructor & Destructor Documentation

◆ Chunk()

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

Store the cycle size.

Parameters
valueBytes. 0 = automatic.

Member Function Documentation

◆ Value()

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

Cycle size.

Returns
Bytes.

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