C# Class ICSharpCode.SharpZipLib.Tests.Zip.ZipBase

Afficher le fichier Open project: icsharpcode/SharpZipLib

Méthodes publiques

Méthode Description
WriteToFile ( string fileName, byte data ) : void

Méthodes protégées

Méthode Description
CheckKnownEntry ( Stream inStream, int expectedCount ) : void
GetTempFilePath ( ) : string
MakeInMemoryZip ( bool withSeek ) : byte[]
MakeInMemoryZip ( byte &original, CompressionMethod method, int compressionLevel, int size, string password, bool withSeek ) : byte[]
MakeTempFile ( string name, int size ) : void
MakeZipFile ( Stream storage, bool isOwner, string entryNamePrefix, int entries, int size, string comment ) : void
MakeZipFile ( Stream storage, bool isOwner, string names, int size, string comment ) : void
MakeZipFile ( string name, string entryNamePrefix, int entries, int size, string comment ) : void
MakeZipFile ( string name, string names, int size, string comment ) : void
ReadByteChecked ( Stream stream ) : byte
ReadInt ( Stream stream ) : int
ReadLong ( Stream stream ) : long
ScatterValue ( byte rhs ) : byte

Private Methods

Méthode Description
AddKnownDataToEntry ( ZipOutputStream zipStream, int size ) : void

Method Details

CheckKnownEntry() protected static méthode

protected static CheckKnownEntry ( Stream inStream, int expectedCount ) : void
inStream Stream
expectedCount int
Résultat void

GetTempFilePath() protected static méthode

protected static GetTempFilePath ( ) : string
Résultat string

MakeInMemoryZip() protected méthode

protected MakeInMemoryZip ( bool withSeek ) : byte[]
withSeek bool
Résultat byte[]

MakeInMemoryZip() protected méthode

protected MakeInMemoryZip ( byte &original, CompressionMethod method, int compressionLevel, int size, string password, bool withSeek ) : byte[]
original byte
method CompressionMethod
compressionLevel int
size int
password string
withSeek bool
Résultat byte[]

MakeTempFile() protected static méthode

protected static MakeTempFile ( string name, int size ) : void
name string
size int
Résultat void

MakeZipFile() protected méthode

protected MakeZipFile ( Stream storage, bool isOwner, string entryNamePrefix, int entries, int size, string comment ) : void
storage Stream
isOwner bool
entryNamePrefix string
entries int
size int
comment string
Résultat void

MakeZipFile() protected méthode

protected MakeZipFile ( Stream storage, bool isOwner, string names, int size, string comment ) : void
storage Stream
isOwner bool
names string
size int
comment string
Résultat void

MakeZipFile() protected méthode

protected MakeZipFile ( string name, string entryNamePrefix, int entries, int size, string comment ) : void
name string
entryNamePrefix string
entries int
size int
comment string
Résultat void

MakeZipFile() protected méthode

protected MakeZipFile ( string name, string names, int size, string comment ) : void
name string
names string
size int
comment string
Résultat void

ReadByteChecked() protected méthode

protected ReadByteChecked ( Stream stream ) : byte
stream Stream
Résultat byte

ReadInt() protected méthode

protected ReadInt ( Stream stream ) : int
stream Stream
Résultat int

ReadLong() protected méthode

protected ReadLong ( Stream stream ) : long
stream Stream
Résultat long

ScatterValue() protected static méthode

protected static ScatterValue ( byte rhs ) : byte
rhs byte
Résultat byte

WriteToFile() public méthode

public WriteToFile ( string fileName, byte data ) : void
fileName string
data byte
Résultat void