Such classes would be handy for FST serialization/deserialization.
A patch moving these stream delegation classes to org.apache.lucene.store. A potential bugfix is piggybacked (potential partial read(byte) was not handled correctly).
Patch looks good. Two comments:
I agree with moving these to .store package, sorry I forgot about this in the suggest refactoring.
I've had to write similar classes myself before since they were not there.
Thanks Shai. I'll add the headers, clean up this where applicable and commit in.
Updated patch, applied.
bulk close for 3.3