Return the serialized length of a NDEF message.
#include <nfc/nfc_ndef.h>
NFC_API nfc_result_t nfc_get_ndef_message_byte_length(const nfc_ndef_message_t *msg, size_t *byte_length)
BlackBerry 10.0.0
The NDEF message to retrieve the length of.
The returned byte length of the message.
This function returns the length in bytes of all records contained inside an NDEF message.
NFC_RESULT_SUCCESS, or NFC_RESULT_INVALID_PARAMETER to indicate an invalid argument.