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

Support byte-based length fields in ref types #26

Open
KingMob opened this issue Nov 20, 2020 · 0 comments
Open

Support byte-based length fields in ref types #26

KingMob opened this issue Nov 20, 2020 · 0 comments

Comments

@KingMob
Copy link

KingMob commented Nov 20, 2020

To support AWS's event-stream format, I need length-prefixed specs. Unfortunately, string* is predefined to use int32, so I reached for ref-string. That handles the header value case, which is in16-based, but not the header name, which is byte-prefixed.

If you like, I'll submit a PR for it, just let me know.

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