C# Class System.IO.Compression.ZipEndOfCentralDirectoryBlock

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Свойство Type Description
ArchiveComment byte[]
NumberOfEntriesInTheCentralDirectory ushort
NumberOfEntriesInTheCentralDirectoryOnThisDisk ushort
NumberOfTheDiskWithTheStartOfTheCentralDirectory ushort
NumberOfThisDisk ushort
OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber uint
Signature uint
SizeOfCentralDirectory uint

Méthodes publiques

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

Method Details

TryReadBlock() public static méthode

public static TryReadBlock ( BinaryReader reader, ZipEndOfCentralDirectoryBlock &eocdBlock ) : bool
reader BinaryReader
eocdBlock ZipEndOfCentralDirectoryBlock
Résultat bool

WriteBlock() public static méthode

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

Property Details

ArchiveComment public_oe property

public byte[] ArchiveComment
Résultat byte[]

NumberOfEntriesInTheCentralDirectory public_oe property

public ushort NumberOfEntriesInTheCentralDirectory
Résultat ushort

NumberOfEntriesInTheCentralDirectoryOnThisDisk public_oe property

public ushort NumberOfEntriesInTheCentralDirectoryOnThisDisk
Résultat ushort

NumberOfTheDiskWithTheStartOfTheCentralDirectory public_oe property

public ushort NumberOfTheDiskWithTheStartOfTheCentralDirectory
Résultat ushort

NumberOfThisDisk public_oe property

public ushort NumberOfThisDisk
Résultat ushort

OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber public_oe property

public uint OffsetOfStartOfCentralDirectoryWithRespectToTheStartingDiskNumber
Résultat uint

Signature public_oe property

public uint Signature
Résultat uint

SizeOfCentralDirectory public_oe property

public uint SizeOfCentralDirectory
Résultat uint