SpringCard PC/SC Helpers for .NET  18.10.10
High-level access to a few current cards and to advanced coupler features
SpringCard.NfcForum.Ndef.NfcTlv Class Reference

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]
 

Detailed Description

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

Member Function Documentation

◆ add_child()

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.

◆ count_children()

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.

◆ get_child()

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.

◆ Serialize()

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

◆ Unserialize()

static NfcTlv SpringCard.NfcForum.Ndef.NfcTlv.Unserialize ( byte []  buffer,
out byte []  remaining_buffer 
)
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.

Property Documentation

◆ L

long SpringCard.NfcForum.Ndef.NfcTlv.L
get

v* SpringCard.NfcForum.Ndef/NfcTlv.L

SYNOPSIS public long L

DESCRIPTION Gets the Length of the TLV

◆ T

byte SpringCard.NfcForum.Ndef.NfcTlv.T
get

v* SpringCard.NfcForum.Ndef/NfcTlv.T

SYNOPSIS public byte T

DESCRIPTION Gets the Type of the TLV

◆ V

byte [] SpringCard.NfcForum.Ndef.NfcTlv.V
get

v* SpringCard.NfcForum.Ndef/NfcTlv.V

SYNOPSIS public byte[] V

DESCRIPTION Gets the Value of the TLV


The documentation for this class was generated from the following file: