bring your own buffer and byteOffset
- Dominant language
- JavaScript
- Stars
- 29
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Looking at `protocol-buffers` i noticed that the API supports [a `buffer` and `offset`](https://github.com/mafintosh/protocol-buffers/blob/a742b1ea638f6b5e6b7f9dcb37220a80f8a90a38/compile.js#L149) property in the `encode` function and [a `offset` and `end` option](https://github.com/mafintosh/protocol-buffers/blob/a742b1ea638f6b5e6b7f9dcb37220a80f8a90a38/compile.js#L404) in the decode function and I have been wondering if it would be reasonable to implement these options also in codecs to have API compatibility between the two libraries.
Contributor guide
No contributing guide indexed for this repository
Research direction
Compare the linked protocol-buffers compile.js encode and decode behavior with the codecs package's encode/decode entry points. Determine how buffer, offset, and end should behave across the codecs, then verify that the resulting API is compatible with protocol-buffers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100