Wraps an Array so that you can write into it as a stream without reallocations or copying at the end.
Wraps an Array so that you can write into it as a stream without reallocations or copying at the end. Useful if you know an upper bound on the number of bytes you will write
enrichment to treat an Array like an OutputStream
Note this is only recommended for testing.
Note this is only recommended for testing. You may want to use ByteArrayInputOutputStream for performance critical concerns
This has a lot of methods from DataInputStream without having to allocate to get them This code is similar to those algorithms