Reads the GZIP header from the current stream position and fills the class properties with values read from the GZIP header.
This method is not intended for seeking to next GZIP header position.
This method can be called only when the stream was just opened (and no method was called already)
or when a file was read completely (the Read(array<Byte>[]()[][], Int32, Int32) method reads no data).
Calling this method before the whole file has been read throws an InvalidOperationException.
Namespace:
Rebex.IO.Compression.Streams
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
Visual Basic |
---|
Public Function ReadNextFileHeader As Boolean |
C# |
---|
public bool ReadNextFileHeader() |