summaryrefslogtreecommitdiffstats
path: root/src/CircularBufferCompressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CircularBufferCompressor.h')
-rw-r--r--src/CircularBufferCompressor.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/CircularBufferCompressor.h b/src/CircularBufferCompressor.h
index 53c96bd15..2fa5b25ee 100644
--- a/src/CircularBufferCompressor.h
+++ b/src/CircularBufferCompressor.h
@@ -15,16 +15,14 @@ class cByteBuffer;
class CircularBufferCompressor
{
-public:
-
+ public:
ContiguousByteBufferView GetView() const;
Compression::Result Compress();
void ReadFrom(cByteBuffer & Buffer);
void ReadFrom(cByteBuffer & Buffer, size_t Size);
-private:
-
+ private:
Compression::Compressor m_Compressor;
std::basic_string<std::byte> m_ContiguousIntermediate;
};
@@ -35,15 +33,13 @@ private:
class CircularBufferExtractor
{
-public:
-
+ public:
ContiguousByteBufferView GetView() const;
Compression::Result Extract(size_t UncompressedSize);
void ReadFrom(cByteBuffer & Buffer, size_t Size);
-private:
-
+ private:
Compression::Extractor m_Extractor;
std::basic_string<std::byte> m_ContiguousIntermediate;
};