@Override
            public void write(ByteBuffer src) throws IOException {
                try {
                    IOUtil.writeFully(ouput, src);
                } catch (Exception e) {
                    throw new IOException(String.format("name: %s", name), e);
                }
            }
Open a writer with known incomming data size.
indexr-common/src/main/java/io/indexr/io/ByteBufferWriter.java