Class RawTaggedData
A raw binary tagged value
Inheritance
System.Object
RawTaggedData
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public class RawTaggedData : ITaggedData
Constructors
| Improve this Doc View SourceRawTaggedData(UInt16)
Initialise a new instance.
Declaration
public RawTaggedData(ushort tag)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | tag | The tag ID. |
Properties
| Improve this Doc View SourceData
Get /set the binary data representing this instance.
Declaration
public byte[] Data { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The raw binary data representing this instance. |
TagID
Get the ID for this tagged data value.
Declaration
public ushort TagID { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Methods
| Improve this Doc View SourceGetData()
Get the binary data representing this instance.
Declaration
public byte[] GetData()
Returns
Type | Description |
---|---|
System.Byte[] | The raw binary data representing this instance. |
SetData(Byte[], Int32, Int32)
Set the data from the raw values provided.
Declaration
public void SetData(byte[] data, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | The raw data to extract values from. |
System.Int32 | offset | The index to start extracting values from. |
System.Int32 | count | The number of bytes available. |