Show / Hide Table of Contents

WriteByte Method

WriteByte(int, byte)

Add a byte as the value to be written out.

C#
public void WriteByte(int tag, byte value)

Parameters

Type Name Description
int tag

The tag that will be written out when this TLV is encoded.

byte value

The byte to be converted into a byte array.

Exceptions

Type Condition
TlvException

The tag is invalid.

In this article
Back to top Generated by DocFX