Skip to content

String-buffer: simplify string_buffer.Buf.encodeBytes API#517

Open
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:encode-bytes
Open

String-buffer: simplify string_buffer.Buf.encodeBytes API#517
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:encode-bytes

Conversation

@chqrlie
Copy link
Copy Markdown
Contributor

@chqrlie chqrlie commented Apr 21, 2026

  • encodeBytes always outputs the surrounding separtors if passed a sep character and escapes both " and ' if sep == 0.

* `encodeBytes` always outputs the surrounding separtors if passed a `sep`
  character and escapes both `"` and `'` if `sep == 0`.
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