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 1 commit into from Jul 29, 2018


None yet
2 participants

dbandstra 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.

@dbandstra dbandstra force-pushed the dbandstra:slice-out-stream branch from 33013c3 to 4d05655 Jul 29, 2018

@andrewrk andrewrk merged commit 608ff52 into ziglang:master Jul 29, 2018

0 of 2 checks passed

continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
continuous-integration/travis-ci/pr The Travis CI build is in progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment