C# Class System.IO.Compression.Zip64ExtraField

显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetAndRemoveZip64Block ( List extraFields, bool readUncompressedSize, bool readCompressedSize, bool readLocalHeaderOffset, bool readStartDiskNumber ) : Zip64ExtraField
GetJustZip64Block ( Stream extraFieldStream, bool readUncompressedSize, bool readCompressedSize, bool readLocalHeaderOffset, bool readStartDiskNumber ) : Zip64ExtraField
RemoveZip64Blocks ( List extraFields ) : void
WriteBlock ( Stream stream ) : void

Private Methods

Method Description
TryGetZip64BlockFromGenericExtraField ( ZipGenericExtraField extraField, bool readUncompressedSize, bool readCompressedSize, bool readLocalHeaderOffset, bool readStartDiskNumber, Zip64ExtraField &zip64Block ) : bool
UpdateSize ( ) : void

Method Details

GetAndRemoveZip64Block() public static method

public static GetAndRemoveZip64Block ( List extraFields, bool readUncompressedSize, bool readCompressedSize, bool readLocalHeaderOffset, bool readStartDiskNumber ) : Zip64ExtraField
extraFields List
readUncompressedSize bool
readCompressedSize bool
readLocalHeaderOffset bool
readStartDiskNumber bool
return Zip64ExtraField

GetJustZip64Block() public static method

public static GetJustZip64Block ( Stream extraFieldStream, bool readUncompressedSize, bool readCompressedSize, bool readLocalHeaderOffset, bool readStartDiskNumber ) : Zip64ExtraField
extraFieldStream Stream
readUncompressedSize bool
readCompressedSize bool
readLocalHeaderOffset bool
readStartDiskNumber bool
return Zip64ExtraField

RemoveZip64Blocks() public static method

public static RemoveZip64Blocks ( List extraFields ) : void
extraFields List
return void

WriteBlock() public method

public WriteBlock ( Stream stream ) : void
stream Stream
return void