-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add formatted printing directly into std.Buffer #4385
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 formatted printing directly into std.Buffer #4385
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We used to have this, and removed it in favor of One Way To Do Things (create a stream from the buffer).
However, upon reconsidering, I think this API shortcut is welcome here.
Just one little thing to fix and then this is merge-ready.
I disagree. |
It was totally the name that made me pick it originally. I ended up going with a different solution. |
What should I do about the windows build timing out? Also @daurnimator , the Buffer has a convenient api for string operations such as:
For someone browsing the standard library, it seems to be the obvious choice. Is the ArrayList preferred for holding variable length u8's? |
Adding in #4405
Yes. Or |
Thanks! |
No description provided.