AmaroK86.MassEffect3.ZlibBlock.ZBlock.DecompressAsync C# (CSharp) Method

DecompressAsync() public static method

public static DecompressAsync ( byte buffer ) : Task
buffer byte
return Task
        public static Task<byte[]> DecompressAsync(byte[] buffer)
        {
            if (buffer == null)
                throw new ArgumentNullException();
            return Task.Run(() =>
            {
                return Decompress(buffer, 0, buffer.Length);
            });
        }