public static byte[] Uncompress(Stream input, int uncompressedSize) { byte[] buff = new byte[uncompressedSize]; ZInputStream reader = new ZInputStream(input); reader.EnsureRead(buff, 0, uncompressedSize); return(buff); }
public static byte[] Uncompress(Stream input, int uncompressedSize) { byte[] buff = new byte[uncompressedSize]; ZInputStream reader = new ZInputStream(input); reader.EnsureRead(buff, 0, uncompressedSize); return(buff); }