Adding SeekableInput that supports data as byte[] instead of just from Files. Updated original implementation to subclass ByteArrayInputStream based on recommendation from cutting@github, and implemented 'seek'ing backwards.
You can merge this Pull Request by running: git pull https://github.com/xcommerce/avro trunk Or you can view, comment on it, or merge it online at: https://github.com/apache/avro/pull/4 -- Commit Summary -- * Adding SeekableInput that supports data as byte[] instead of just from Files * Re-implementing SeekableByteArrayInput as a subclass of ByteArrayInputStream per recommendation from cutting@github * Implementing the seek() to support going backwards, as well -- File Changes -- A lang/java/avro/src/main/java/org/apache/avro/file/SeekableByteArrayInput.java (42) -- Patch Links -- https://github.com/apache/avro/pull/4.patch https://github.com/apache/avro/pull/4.diff -- Reply to this email directly or view it on GitHub: https://github.com/apache/avro/pull/4
