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

Use unsigned integers when stable #18

Open
twyatt opened this issue Jun 28, 2020 · 2 comments
Open

Use unsigned integers when stable #18

twyatt opened this issue Jun 28, 2020 · 2 comments

Comments

@twyatt
Copy link
Member

twyatt commented Jun 28, 2020

The RFC defines numeric types as unsigned; in KoAP (to prevent overflow) the next larger numeric type is used (e.g. a Long is used to store an unsigned int32).

unsigned integers would simplify a lot of internal code as well as simplify the public facing API. unsigned integers should be used when no longer experimental.

@DavidJRobertson
Copy link

@twyatt
Copy link
Member Author

twyatt commented Jul 20, 2021

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

No branches or pull requests

2 participants