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

Expose constants #131

Open
ColonelThirtyTwo opened this issue Apr 6, 2022 · 0 comments
Open

Expose constants #131

ColonelThirtyTwo opened this issue Apr 6, 2022 · 0 comments

Comments

@ColonelThirtyTwo
Copy link

The constants module, or at least the TAGLEN and MAXMSGLEN constants, should be exposed as a public API.

write_message and read_message have limitations on the size of the message based on the two above values, however it's impossible for users of the API to know the maximum length without copying those constants into their own code.

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

1 participant