C# Class System.IO.Compression.ZipGenericExtraField

Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ParseExtraField ( Stream extraFieldData ) : List
TotalSize ( List fields ) : int
TryReadBlock ( BinaryReader reader, long endExtraField, ZipGenericExtraField &field ) : bool
WriteAllBlocks ( List fields, Stream stream ) : void
WriteBlock ( Stream stream ) : void

Method Details

ParseExtraField() public static method

public static ParseExtraField ( Stream extraFieldData ) : List
extraFieldData Stream
return List

TotalSize() public static method

public static TotalSize ( List fields ) : int
fields List
return int

TryReadBlock() public static method

public static TryReadBlock ( BinaryReader reader, long endExtraField, ZipGenericExtraField &field ) : bool
reader BinaryReader
endExtraField long
field ZipGenericExtraField
return bool

WriteAllBlocks() public static method

public static WriteAllBlocks ( List fields, Stream stream ) : void
fields List
stream Stream
return void

WriteBlock() public method

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