Skip to content

Allow passing in buffer to finish - #1884

Open
bouk wants to merge 2 commits into
protobufjs:masterfrom
bouk:bouk/finish-into
Open

Allow passing in buffer to finish#1884
bouk wants to merge 2 commits into
protobufjs:masterfrom
bouk:bouk/finish-into

Conversation

@bouk

@bouk bouk commented Apr 15, 2023

Copy link
Copy Markdown

Make it possible to pass-in the buffer to finish. This is useful if you need the data to be written to a specific location, I want it to be written to wasm memory for example.

@bouk bouk changed the title Add Writer.finishInto Allow passing in buffer to finish Apr 17, 2023
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

Successfully merging this pull request may close these issues.

1 participant