Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling NDEF record's PAYLOAD field is not present #541

Open
Honry opened this issue Feb 11, 2020 · 0 comments
Open

Handling NDEF record's PAYLOAD field is not present #541

Honry opened this issue Feb 11, 2020 · 0 comments

Comments

@Honry
Copy link
Contributor

Honry commented Feb 11, 2020

In Parsing NDEF records, all record types valid following step except the empty record:

If ndefRecord's PAYLOAD field is not present, set record's data to null and return record.

But looks like only empty record's payload field is not present, and spec also doesn't allow constructing null data for all record types, so shall we throw error here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants