mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Code style change and rebuild zstd with optimization options
This commit is contained in:
@@ -542,9 +542,9 @@ public:
|
||||
{
|
||||
return Parser.Parse(buf, CompressMethod, PeerName);
|
||||
}
|
||||
void Encode(PBYTE data, bool &flag) const
|
||||
void Encode(PBYTE data, int len, const bool &flag) const
|
||||
{
|
||||
flag ? data[0] ^= 0x2B : 0x2B == 0x2B;
|
||||
flag ? (len > 1 ? data[1] ^= 0x2B : 0x2B == 0x2B) : 0x2B == 0x2B;
|
||||
}
|
||||
// Encode data before compress.
|
||||
void Encode(PBYTE data, int len) const
|
||||
|
||||
Reference in New Issue
Block a user