NAME
NfcTlv
DESCRIPTION
Represents a TLV that has been found on a NFC Type 2 Tag, found on a reader
SYNOPSIS
NfcTlv tlv = new NfcTlv() NfcTlv tlv = new NfcTlv(byte t, byte[] v)
USED BY
NfcTagType2
SYNOPSIS
public void add_child(Ndef ndef)
DESCRIPTION
Adds a child (ndef) to the NfcTlv object.
SYNOPSIS
public int count_children()
DESCRIPTION
Returns the number of children that the NfcTlv has.
SYNOPSIS
public Ndef get_child(int i)
DESCRIPTION
Returns the ndef child, with index i. In case the child doesn't exist, null is returned.
SYNOPSIS
public long L
DESCRIPTION
Gets the Length of the TLV
SYNOPSIS
public byte[] Serialize()
DESCRIPTION
Serializes the TLV and returns the corresponding byte array
SYNOPSIS
public byte T
DESCRIPTION
Gets the Type of the TLV
SYNOPSIS
public static NfcTlv Unserialize(byte[] buffer, ref byte[] remaining_buffer)
DESCRIPTION
Constructs and returns a NfcTlv object from the "buffer" byte array. The "remaining_buffer" array contains the bytes that follow the ones which belong to the constructed TLV.
SYNOPSIS
public byte[] V
DESCRIPTION
Gets the Value of the TLV