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

Provide sequence abstraction over stream of Transit-encoded objects #30

Open
kdgregory opened this issue Apr 22, 2016 · 0 comments
Open

Comments

@kdgregory
Copy link

kdgregory commented Apr 22, 2016

I often want to read a sequence of Transit-encoded objects from a stream, and apply some transformations to them. The attached files create a lazy sequence from an arbitrary InputStream, and properly handle the end-of-file exception.

You're welcome to use them however you wish; I warrant that I am the author and sole holder of copyright, that there are no known patents covering this work, and hereby grant to to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

transit-seq.zip

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

No branches or pull requests

1 participant