C# Класс ICSharpCode.SharpZipLib.Tests.Zip.ZipBase

Показать файл Открыть проект

Открытые методы

Метод Описание
WriteToFile ( string fileName, byte data ) : void

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
AddKnownDataToEntry ( ZipOutputStream zipStream, int size ) : void

Описание методов

CheckKnownEntry() защищенный статический Метод

protected static CheckKnownEntry ( Stream inStream, int expectedCount ) : void
inStream Stream
expectedCount int
Результат void

GetTempFilePath() защищенный статический Метод

protected static GetTempFilePath ( ) : string
Результат string

MakeInMemoryZip() защищенный Метод

protected MakeInMemoryZip ( bool withSeek ) : byte[]
withSeek bool
Результат byte[]

MakeInMemoryZip() защищенный Метод

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
Результат byte[]

MakeTempFile() защищенный статический Метод

protected static MakeTempFile ( string name, int size ) : void
name string
size int
Результат void

MakeZipFile() защищенный Метод

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
Результат void

MakeZipFile() защищенный Метод

protected MakeZipFile ( Stream storage, bool isOwner, string names, int size, string comment ) : void
storage Stream
isOwner bool
names string
size int
comment string
Результат void

MakeZipFile() защищенный Метод

protected MakeZipFile ( string name, string entryNamePrefix, int entries, int size, string comment ) : void
name string
entryNamePrefix string
entries int
size int
comment string
Результат void

MakeZipFile() защищенный Метод

protected MakeZipFile ( string name, string names, int size, string comment ) : void
name string
names string
size int
comment string
Результат void

ReadByteChecked() защищенный Метод

protected ReadByteChecked ( Stream stream ) : byte
stream Stream
Результат byte

ReadInt() защищенный Метод

protected ReadInt ( Stream stream ) : int
stream Stream
Результат int

ReadLong() защищенный Метод

protected ReadLong ( Stream stream ) : long
stream Stream
Результат long

ScatterValue() защищенный статический Метод

protected static ScatterValue ( byte rhs ) : byte
rhs byte
Результат byte

WriteToFile() публичный Метод

public WriteToFile ( string fileName, byte data ) : void
fileName string
data byte
Результат void