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

Add StringBuilder.appendCodePoint #11

Merged
merged 1 commit into from
Jan 23, 2023
Merged

Add StringBuilder.appendCodePoint #11

merged 1 commit into from
Jan 23, 2023

Conversation

JakeWharton
Copy link
Contributor

@JakeWharton JakeWharton commented Jan 23, 2023

Closes #8

* The length of this sequence increases by [CodePoints.charCount].
*
* The overall effect is exactly as if the argument were converted to a char array by the function
* [CodePoints.toChars] and the characters in that array were then appended to this sequence.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this referenced function here doesn't exist yet. These are the adapted docs from Java which seems to be what you were doing with the others.

I can add it next.

@JakeWharton
Copy link
Contributor Author

Can rebase over #7 if you want to land that first.

@cketti cketti merged commit de0ed20 into cketti:main Jan 23, 2023
@cketti
Copy link
Owner

cketti commented Jan 23, 2023

Thanks 👍

@JakeWharton JakeWharton deleted the jw.string-builder.2023-01-23 branch January 23, 2023 16:59
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.

Add StringBuilder.appendCodePoint convenience
2 participants