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

ファイルを表示 Open project: icsharpcode/SharpZipLib

Public Methods

Method Description
WriteToFile ( string fileName, byte data ) : void

Protected Methods

Method 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

Method Description
AddKnownDataToEntry ( ZipOutputStream zipStream, int size ) : void

Method Details

CheckKnownEntry() protected static method

protected static CheckKnownEntry ( Stream inStream, int expectedCount ) : void
inStream Stream
expectedCount int
return void

GetTempFilePath() protected static method

protected static GetTempFilePath ( ) : string
return string

MakeInMemoryZip() protected method

protected MakeInMemoryZip ( bool withSeek ) : byte[]
withSeek bool
return byte[]

MakeInMemoryZip() protected method

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
return byte[]

MakeTempFile() protected static method

protected static MakeTempFile ( string name, int size ) : void
name string
size int
return void

MakeZipFile() protected method

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
return void

MakeZipFile() protected method

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

MakeZipFile() protected method

protected MakeZipFile ( string name, string entryNamePrefix, int entries, int size, string comment ) : void
name string
entryNamePrefix string
entries int
size int
comment string
return void

MakeZipFile() protected method

protected MakeZipFile ( string name, string names, int size, string comment ) : void
name string
names string
size int
comment string
return void

ReadByteChecked() protected method

protected ReadByteChecked ( Stream stream ) : byte
stream Stream
return byte

ReadInt() protected method

protected ReadInt ( Stream stream ) : int
stream Stream
return int

ReadLong() protected method

protected ReadLong ( Stream stream ) : long
stream Stream
return long

ScatterValue() protected static method

protected static ScatterValue ( byte rhs ) : byte
rhs byte
return byte

WriteToFile() public method

public WriteToFile ( string fileName, byte data ) : void
fileName string
data byte
return void