Class TLV
- Namespace
- Inetlab.SMPP.Common
- Assembly
- cs.temp.dll.dll
Represents TLV (Tag, Length, Value) format for optional parameters.
public class TLV
- Inheritance
-
ObjectTLV
Constructors
TLV()
public TLV()
TLV(OptionalTags, Byte[])
public TLV(OptionalTags tag, byte[] val)
Parameters
tag
OptionalTagsval
Byte[]
TLV(OptionalTags, UInt16, Byte[])
public TLV(OptionalTags tag, ushort length, byte[] val)
Parameters
tag
OptionalTagslength
UInt16val
Byte[]
TLV(UInt16, Byte[])
public TLV(ushort tag, byte[] val)
Parameters
tag
UInt16val
Byte[]
TLV(UInt16, UInt16, Byte[])
public TLV(ushort tag, ushort length, byte[] val)
Parameters
tag
UInt16length
UInt16val
Byte[]
Properties
Length
Indicates the length of the Value property in octets.
public ushort Length { get; set; }
Property Value
- UInt16
Tag
The Tag field is used to uniquely identify the particular optional parameter.
public ushort Tag { get; set; }
Property Value
- UInt16
TagValue
Identifies the particular optional parameter.
public OptionalTags TagValue { get; set; }
Property Value
Value
Contains the actual data for the optional parameter
public byte[] Value { get; set; }
Property Value
- Byte[]
Methods
Clone()
public TLV Clone()
Returns
GetHashCode()
public override int GetHashCode()
Returns
- Int32