Свойство | Type | Description | |
---|---|---|---|
ConsExtraField | byte[] | ||
FileNameIsUtf8 | bool | ||
GenerateCommentBytes | System.Text.Encoding | ||
HandlePK00Prefix | void | ||
HandleUnexpectedDataDescriptor | void | ||
InternalExtract | void | ||
IsNotValidSig | bool | ||
IsNotValidZipDirEntrySig | bool | ||
MarkAsDirectory | void | ||
ProcessExtraField | int | ||
Read | |||
ReadHeader | bool | ||
ReadWeakEncryptionHeader | int | ||
ResetDirEntry | void | ||
SetFdpLoh | void | ||
ValidateCompression | void | ||
ValidateEncryption | void | ||
ValidateOutput | bool | ||
ZipEntry | System | ||
_CheckRead | void | ||
_ExtractOne | |||
_GetEncodedFileNameBytes | byte[] |
Méthode | Description | |
---|---|---|
Extract ( System stream ) : void |
Extracts the entry to the specified stream. For example, the caller could specify Console.Out, or a MemoryStream. |
|
ReadDirEntry ( System s, System expectedEncoding ) : |
Reads one entry from the zip directory structure in the zip file.
|
Méthode | Description | |
---|---|---|
ConsExtraField ( ) : byte[] | ||
FileNameIsUtf8 ( char FileNameChars ) : bool | ||
GenerateCommentBytes ( ) : System.Text.Encoding | ||
HandlePK00Prefix ( Stream s ) : void | ||
HandleUnexpectedDataDescriptor ( |
||
InternalExtract ( System output ) : void | ||
IsNotValidSig ( int signature ) : bool | ||
IsNotValidZipDirEntrySig ( int signature ) : bool |
Returns true if the passed-in value is a valid signature for a ZipDirEntry.
|
|
MarkAsDirectory ( ) : void | ||
ProcessExtraField ( |
||
Read ( ZipFile zf, bool first ) : |
Reads one ZipEntry from the given stream. If the entry is encrypted, we don't decrypt at this point. We also do not decompress. Mostly we read metadata.
|
|
ReadHeader ( |
||
ReadWeakEncryptionHeader ( Stream s, byte buffer ) : int | ||
ResetDirEntry ( ) : void | ||
SetFdpLoh ( ) : void | ||
ValidateCompression ( ) : void | ||
ValidateEncryption ( ) : void | ||
ValidateOutput ( Stream outstream ) : bool | ||
ZipEntry ( ) : System | ||
_CheckRead ( int nbytes ) : void | ||
_ExtractOne ( System output ) : |
||
_GetEncodedFileNameBytes ( ) : byte[] |
public Extract ( System stream ) : void | ||
stream | System | the stream to which the entry should be extracted. |
Résultat | void |
public static ReadDirEntry ( System s, System expectedEncoding ) : |
||
s | System | the stream from which to read. |
expectedEncoding | System | /// The text encoding to use if the entry is not marked UTF-8. /// |
Résultat |