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