C# Class System.IO.Compression.ZipEndOfCentralDirectoryBlock

Show file Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
ArchiveComment byte[]
NumberOfEntriesInTheCentralDirectory ushort
NumberOfEntriesInTheCentralDirectoryOnThisDisk ushort
NumberOfTheDiskWithTheStartOfTheCentralDirectory ushort
NumberOfThisDisk ushort
OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber uint
Signature uint
SizeOfCentralDirectory uint

Public Methods

Method Description
TryReadBlock ( BinaryReader reader, ZipEndOfCentralDirectoryBlock &eocdBlock ) : bool
WriteBlock ( Stream stream, long numberOfEntries, long startOfCentralDirectory, long sizeOfCentralDirectory, byte archiveComment ) : void

Method Details

TryReadBlock() public static method

public static TryReadBlock ( BinaryReader reader, ZipEndOfCentralDirectoryBlock &eocdBlock ) : bool
reader BinaryReader
eocdBlock ZipEndOfCentralDirectoryBlock
return bool

WriteBlock() public static method

public static WriteBlock ( Stream stream, long numberOfEntries, long startOfCentralDirectory, long sizeOfCentralDirectory, byte archiveComment ) : void
stream Stream
numberOfEntries long
startOfCentralDirectory long
sizeOfCentralDirectory long
archiveComment byte
return void

Property Details

ArchiveComment public property

public byte[] ArchiveComment
return byte[]

NumberOfEntriesInTheCentralDirectory public property

public ushort NumberOfEntriesInTheCentralDirectory
return ushort

NumberOfEntriesInTheCentralDirectoryOnThisDisk public property

public ushort NumberOfEntriesInTheCentralDirectoryOnThisDisk
return ushort

NumberOfTheDiskWithTheStartOfTheCentralDirectory public property

public ushort NumberOfTheDiskWithTheStartOfTheCentralDirectory
return ushort

NumberOfThisDisk public property

public ushort NumberOfThisDisk
return ushort

OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber public property

public uint OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber
return uint

Signature public property

public uint Signature
return uint

SizeOfCentralDirectory public property

public uint SizeOfCentralDirectory
return uint