Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <CircularBufferCompressor.h>
Public Member Functions | |
Compression::Result | Compress () |
ContiguousByteBufferView | GetView () const |
void | ReadFrom (cByteBuffer &Buffer) |
void | ReadFrom (cByteBuffer &Buffer, size_t Size) |
Private Attributes | |
Compression::Compressor | m_Compressor |
std::basic_string< std::byte > | m_ContiguousIntermediate |
Definition at line 16 of file CircularBufferCompressor.h.
Compression::Result CircularBufferCompressor::Compress | ( | ) |
Definition at line 19 of file CircularBufferCompressor.cpp.
ContiguousByteBufferView CircularBufferCompressor::GetView | ( | ) | const |
Definition at line 10 of file CircularBufferCompressor.cpp.
void CircularBufferCompressor::ReadFrom | ( | cByteBuffer & | Buffer | ) |
Definition at line 28 of file CircularBufferCompressor.cpp.
void CircularBufferCompressor::ReadFrom | ( | cByteBuffer & | Buffer, |
size_t | Size | ||
) |
Definition at line 37 of file CircularBufferCompressor.cpp.
|
private |
Definition at line 28 of file CircularBufferCompressor.h.
|
private |
Definition at line 29 of file CircularBufferCompressor.h.