コード例 #1
0
        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;
        }
コード例 #2
0
 public virtual void WriteSupportFile(BinaryFile file, Stream stream)
 {
     stream.Write(file.Data, 0, file.Data.Length);
 }