C# Class System.IO.Compression.ZipEndOfCentralDirectoryBlock

Exibir arquivo 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_oe property

public byte[] ArchiveComment
return byte[]

NumberOfEntriesInTheCentralDirectory public_oe property

public ushort NumberOfEntriesInTheCentralDirectory
return ushort

NumberOfEntriesInTheCentralDirectoryOnThisDisk public_oe property

public ushort NumberOfEntriesInTheCentralDirectoryOnThisDisk
return ushort

NumberOfTheDiskWithTheStartOfTheCentralDirectory public_oe property

public ushort NumberOfTheDiskWithTheStartOfTheCentralDirectory
return ushort

NumberOfThisDisk public_oe property

public ushort NumberOfThisDisk
return ushort

OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber public_oe property

public uint OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber
return uint

Signature public_oe property

public uint Signature
return uint

SizeOfCentralDirectory public_oe property

public uint SizeOfCentralDirectory
return uint