Commit 217b73f8 authored by Andrea Bulgarelli's avatar Andrea Bulgarelli
Browse files

ByteStream compression stubs

parent a9077e79
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -58,6 +58,10 @@ public:

    byte* getStream();
	
	ByteStreamPtr compress(enum CompressionAlgorithms, byte compressionLevel);
	
	ByteStreamPtr decompress(enum CompressionAlgorithms, byte compressionLevel);

    /// Returns a pointer of the stream for output purpose. If there is problems return NULL
    /// \remarks In little endian architecture it is necessary to call endOutputStream()
    /// after the use of the byte* stream in output operations.
+8 −0
Original line number Diff line number Diff line
@@ -135,6 +135,14 @@ PacketLib::ByteStream::~ByteStream()
}


ByteStreamPtr PacketLib::ByteStream::compress(enum CompressionAlgorithms, byte compressionLevel) {

}

ByteStreamPtr PacketLib::ByteStream::decompress(enum CompressionAlgorithms, byte compressionLevel) {
	
}


byte PacketLib::ByteStream::getByte( dword byteNumber)
{