mafintosh / mafintosh/protocol-buffers

Document opts.encodings usage

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
760
Forks
75
PR merge metrics
No merged PRs in 30d

Description

Hi, I would like to provide my own encoder & decoder for https://github.com/mapbox/vector-tile-spec/blob/master/2.1/vector_tile.proto#L17 (Value message) to improve efficiency for my usecase, but got a bit confusing in all the codegen logic. Please provide a sample of how to use `opts.encodings` to override a single message parser/generator. Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the opts.encodings option and following the code-generation path for message parsers and generators. Document a sample that overrides the parser and generator for one message, using the Value message as the example; done means a newcomer can understand and adapt the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.