protocolbuffers / protocolbuffers/protobuf-javascript

Enhancement request: Javascript delimited versions of serializeBinary and deserializeBinary

Open
#94 2 comments 6 reactions 1 assignee View on GitHub

@lukesandberg is already working on this.

Since Jun 21, 2021.

enhancement javascript triaged
Dominant language
JavaScript
Stars
471
Forks
91
Avg merge
3h 57m
Merged PRs (30d)
2

Description

As in Java and other implementations, it would be great if the JS impl could provide facilities to easily prepend the size of the encoded message (as a varint) directly.

Right now, I am forced to use another lib (called "varint") to encode/decode the size and prepend it the serialized buffer....

Let us know if if it makes sense.

Cheers. G.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.