My TCP Client receives a image within a packet.The image is compressed with zlib.The task is to decompress the image and put it on the form.
I\'m planning to save the co
public static void SaveFile(this Byte[] fileBytes, string fileName) { FileStream fileStream = new FileStream(fileName, FileMode.Create, FileAccess.ReadWrite); fileStream.Write(fileBytes, 0, fileBytes.Length); fileStream.Close(); }