30 lines
461 B
C#
30 lines
461 B
C#
![]() |
using System;
|
|||
|
using System.IO;
|
|||
|
using Ionic.Zip;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.Utility
|
|||
|
{
|
|||
|
internal class MZipEntry : IZipEntry
|
|||
|
{
|
|||
|
internal MZipEntry(ZipEntry entry)
|
|||
|
{
|
|||
|
this.entry = entry;
|
|||
|
}
|
|||
|
|
|||
|
public Stream CreateStream()
|
|||
|
{
|
|||
|
return null;
|
|||
|
}
|
|||
|
|
|||
|
public Stream GetStream()
|
|||
|
{
|
|||
|
MemoryStream memoryStream = new MemoryStream();
|
|||
|
this.entry.Extract(memoryStream);
|
|||
|
memoryStream.Position = 0L;
|
|||
|
return memoryStream;
|
|||
|
}
|
|||
|
|
|||
|
private ZipEntry entry;
|
|||
|
}
|
|||
|
}
|