Moves zlib to its own nuget (#164)
This commit is contained in:
parent
561b40c3d8
commit
d76d60d900
23 changed files with 75 additions and 398 deletions
|
|
@ -21,8 +21,8 @@
|
|||
using System.Buffers;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Text;
|
||||
using Server.Compression;
|
||||
using Server.Gumps;
|
||||
|
||||
namespace Server.Network
|
||||
|
|
@ -183,7 +183,7 @@ namespace Server.Network
|
|||
|
||||
var packLength = wantLength;
|
||||
|
||||
ZLib.Pack(packBuffer, ref packLength, buffer, length, ZLibQuality.Default);
|
||||
Zlib.Pack(packBuffer, ref packLength, buffer, length, ZlibQuality.Default);
|
||||
|
||||
Stream.Write(4 + packLength);
|
||||
Stream.Write(length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue