private ISupportFile readBinarySupportFile(ZipInputStream zipStream, ZipEntry entry) { BinaryFile file = new BinaryFile(); file.Filename = entry.Name; file.Data = new byte[entry.Size]; zipStream.Read(file.Data, 0, file.Data.Length); return file; }
public virtual void WriteSupportFile(BinaryFile file, Stream stream) { stream.Write(file.Data, 0, file.Data.Length); }