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 SliceOutStream, rename SliceStream to SliceInStream #1301

Merged
merged 1 commit into from Jul 29, 2018
Merged

add SliceOutStream, rename SliceStream to SliceInStream #1301

merged 1 commit into from Jul 29, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jul 29, 2018

unfortunately steps on the toes of @nwsharp's PR a few days ago #1282

I renamed his SliceStream to SliceInStream, and added a new feature, SliceOutStream, which lets you write to a simple fixed size slice (no allocators, growing, etc) - it will simple stop with an error when it hits the end of the slice.

@andrewrk andrewrk merged commit 608ff52 into ziglang:master Jul 29, 2018
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.

None yet

2 participants