Show / Hide Table of Contents

Class Zip

Class to encrypt/decrypt data

Inheritance
object
Zip
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public class Zip

Constructors

Zip(Stream)

Constructor with a stream to compress/decompress. The type of zip algorithm will be attempted detected. If none is detected, default will be GZip

Declaration
public Zip(Stream inputStream)
Parameters
Type Name Description
Stream inputStream

Zip(Stream, ZipType)

Constructor with a stream to compress/decompress, and a compression type

Declaration
public Zip(Stream inputStream, ZipType type)
Parameters
Type Name Description
Stream inputStream
ZipType type

Properties

IsValidZip

Verify if input stream is a valid zip entry

Declaration
public bool IsValidZip { get; }
Property Value
Type Description
bool

ZipType

Type of zip compression to use

Declaration
public ZipType ZipType { get; set; }
Property Value
Type Description
ZipType

Methods

GetCompressedStream()

Return content of input compressed

Declaration
public Stream GetCompressedStream()
Returns
Type Description
Stream

GetDecompressedStream()

Return content of input uncompressed

Declaration
public Stream GetDecompressedStream()
Returns
Type Description
Stream

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top