Public Member Functions | |
| NfcTlv (byte t, byte[] v) | |
| byte [] | Serialize () |
| void | add_child (NdefObject ndef) |
| NdefObject | get_child (int i) |
| int | count_children () |
Static Public Member Functions | |
| static NfcTlv | Unserialize (byte[] buffer, out byte[] remaining_buffer) |
Properties | |
| byte | T [get] |
| long | L [get] |
| byte [] | V [get] |
c* SpringCard.NfcForum.Ndef/NfcTlv
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
| void SpringCard.NfcForum.Ndef.NfcTlv.add_child | ( | NdefObject | ndef | ) |
m* SpringCard.NfcForum.Ndef/NfcTlv.add_child
SYNOPSIS public void add_child(Ndef ndef)
DESCRIPTION Adds a child (ndef) to the NfcTlv object.
| int SpringCard.NfcForum.Ndef.NfcTlv.count_children | ( | ) |
m* SpringCard.NfcForum.Ndef/NfcTlv.count_children
SYNOPSIS public int count_children()
DESCRIPTION Returns the number of children that the NfcTlv has.
| NdefObject SpringCard.NfcForum.Ndef.NfcTlv.get_child | ( | int | i | ) |
m* SpringCard.NfcForum.Ndef/NfcTlv.get_child
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.
| byte [] SpringCard.NfcForum.Ndef.NfcTlv.Serialize | ( | ) |
m* SpringCard.NfcForum.Ndef/NfcTlv.Serialize
SYNOPSIS public byte[] Serialize()
DESCRIPTION Serializes the TLV and returns the corresponding byte array
|
static |
m* SpringCard.NfcForum.Ndef/NfcTlv.Unserialize
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.
|
get |
|
get |
|
get |