- <init>
- getCapacity
- size
- reset
When re-using an instance with reset, it will adjust slab size based on previous
data size. The inte
- addSlab
the new slab is guaranteed to be at least minimumSize
- initialSlabSizeHeuristic
Return an initial slab size such that a CapacityByteArrayOutputStream
constructed with it will end u
- write
- writeTo
Writes the complete contents of this buffer to the specified output stream
argument. the output stre
- getCurrentIndex
- setByte
Replace the byte stored at position index in this stream with value
- toByteArray