The standard java.io classes have hidden synchronization so in some very critical situations, this can be expensive.
35363738394041
public void create(int size, int blobSize) { bb = ByteBuffer.allocate(2048) ; Sink<ByteBuffer> sink = new BufferingWriter.SinkBuffer(bb) ; w = new BufferingWriter(sink, size, blobSize) ; }