Loading include/ByteStream.h +4 −0 Original line number Diff line number Diff line Loading @@ -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. Loading src/ByteStream.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
include/ByteStream.h +4 −0 Original line number Diff line number Diff line Loading @@ -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. Loading
src/ByteStream.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -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) { Loading