Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render_some should have an overload that takes a user-provided output buffer #2

Open
pdimov opened this issue Jan 14, 2023 · 2 comments

Comments

@pdimov
Copy link
Owner

pdimov commented Jan 14, 2023

E.g.

void render_some( core::string_view in, char* out, std::size_t n, std::size_t& bytes_read, std::size_t& bytes_written );
void finish( char* out, std::size_t n, std::size_t& bytes_written );

or maybe core::span<char> out.

@vinniefalco
Copy link

I'm fine with individual pointer and size, keeps things simple

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

No branches or pull requests

2 participants