public void write(DataInput in, int length) throws IOException {
        buffer.write(in, length);
    }
Writes bytes from a DataInput directly into the buffer.
inlong-common/src/main/java/org/apache/inlong/common/msg/DataOutputBuffer.java