Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Attributes | List of all members
CircularBufferExtractor Class Reference

#include <CircularBufferCompressor.h>

Collaboration diagram for CircularBufferExtractor:
Collaboration graph
[legend]

Public Member Functions

Compression::Result Extract (size_t UncompressedSize)
 
ContiguousByteBufferView GetView () const
 
void ReadFrom (cByteBuffer &Buffer, size_t Size)
 

Private Attributes

std::basic_string< std::byte > m_ContiguousIntermediate
 
Compression::Extractor m_Extractor
 

Detailed Description

Definition at line 36 of file CircularBufferCompressor.h.

Member Function Documentation

◆ Extract()

Compression::Result CircularBufferExtractor::Extract ( size_t  UncompressedSize)

Definition at line 55 of file CircularBufferCompressor.cpp.

◆ GetView()

ContiguousByteBufferView CircularBufferExtractor::GetView ( ) const

Definition at line 46 of file CircularBufferCompressor.cpp.

◆ ReadFrom()

void CircularBufferExtractor::ReadFrom ( cByteBuffer Buffer,
size_t  Size 
)

Definition at line 64 of file CircularBufferCompressor.cpp.

Member Data Documentation

◆ m_ContiguousIntermediate

std::basic_string<std::byte> CircularBufferExtractor::m_ContiguousIntermediate
private

Definition at line 48 of file CircularBufferCompressor.h.

◆ m_Extractor

Compression::Extractor CircularBufferExtractor::m_Extractor
private

Definition at line 47 of file CircularBufferCompressor.h.


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