WriteByte Method
WriteByte(Int32, Byte)
Add a byte as the value to be written out.
C#
public void WriteByte(int tag, byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tag | The tag that will be written out when this TLV is encoded. |
System.Byte | value | The byte to be converted into a byte array. |
Exceptions
Type | Condition |
---|---|
TlvException | The tag is invalid. |