Class TlvDecoder
java.lang.Object
com.rvi.application.TlvDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(byte[] data) Unwraps an NDEF TLV starting at offset zero; rejects missing terminators and invalid content.intencodedLength(byte[] data) Returns the TLV size including header and terminator from a complete header; the body need not be present.
-
Constructor Details
-
TlvDecoder
public TlvDecoder()
-
-
Method Details
-
decode
Unwraps an NDEF TLV starting at offset zero; rejects missing terminators and invalid content. -
encodedLength
public int encodedLength(byte[] data) Returns the TLV size including header and terminator from a complete header; the body need not be present.
-