Show / Hide Table of Contents

Class RawTaggedData

A raw binary tagged value

Inheritance
System.Object
RawTaggedData
Implements
ITaggedData
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 Source

RawTaggedData(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 Source

Data

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.

| Improve this Doc View Source

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 Source

GetData()

Get the binary data representing this instance.

Declaration
public byte[] GetData()
Returns
Type Description
System.Byte[]

The raw binary data representing this instance.

| Improve this Doc View Source

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.

Implements

ITaggedData
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors