DotNetCompression Class Reference for Windows Phone
Add(Byte,Byte,Byte[]) Method






The 8-bit ID1 value.
The 8-bit ID2 value.
The array of bytes to be stored in the header field.
Adds the header to the list of GZip headers.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal id1 As System.Byte, _
   ByVal id2 As System.Byte, _
   ByVal data() As System.Byte _
) 
'Usage
 
Dim instance As ExtraFieldCollection
Dim id1 As System.Byte
Dim id2 As System.Byte
Dim data() As System.Byte
 
instance.Add(id1, id2, data)
public void Add( 
   System.byte id1,
   System.byte id2,
   System.byte[] data
)
public procedure Add( 
    id1: System.Byte;
    id2: System.Byte;
    data: System.Bytearray of
); 
public function Add( 
   id1 : System.byte,
   id2 : System.byte,
   data : System.byte[]
);
public: void Add( 
   System.byte id1,
   System.byte id2,
   System.byte[]* data
) 
public:
void Add( 
   System.byte id1,
   System.byte id2,
   System.array<byte>^ data
) 

Parameters

id1
The 8-bit ID1 value.
id2
The 8-bit ID2 value.
data
The array of bytes to be stored in the header field.
Remarks

Each GZip header extra-field is identified by two 8-bit values (ID1 and ID2).

Use this method if it's more comfortable to provide the ID as two 8-bit values. To provide the ID as a single 16-bit unsigned integer use Add(Int32, Byte[]) overload.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ExtraFieldCollection Class
ExtraFieldCollection Members
Overload List

Send Feedback