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
|
|
@ -22,7 +22,7 @@ using System;
|
|||
using System.Buffers;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Server.Compression;
|
||||
using System.IO.Compression;
|
||||
|
||||
namespace Server
|
||||
{
|
||||
|
|
@ -167,7 +167,7 @@ namespace Server
|
|||
if (compressionMethod == 1)
|
||||
{
|
||||
data = new byte[decompressedSize];
|
||||
ZLib.Unpack(data, ref decompressedSize, sourceData, compressedSize);
|
||||
Zlib.Unpack(data, ref decompressedSize, sourceData, compressedSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue