LSLib.LS.LSF.LSFReader.Decompress C# (CSharp) Méthode

Decompress() private méthode

private Decompress ( BinaryReader reader, uint compressedSize, uint uncompressedSize, Header header ) : byte[]
reader System.IO.BinaryReader
compressedSize uint
uncompressedSize uint
header Header
Résultat byte[]
        private byte[] Decompress(BinaryReader reader, uint compressedSize, uint uncompressedSize, Header header)
        {
            bool chunked = (header.Version >= FileVersion.VerChunkedCompress);
            byte[] compressed = reader.ReadBytes((int)compressedSize);
            return BinUtils.Decompress(compressed, (int)uncompressedSize, header.CompressionFlags, chunked);
        }