funcool / funcool/octet

Support byte-based length fields in ref types

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
82
Forks
14
PR merge metrics
No merged PRs in 30d

Description

To support AWS's [event-stream format](https://docs.aws.amazon.com/transcribe/latest/dg/event-stream.html), 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.