public void reset(byte[] input, int length) {
        buffer.reset(input, 0, length);
    }
Resets the data that the buffer reads.
inlong-common/src/main/java/org/apache/inlong/common/msg/DataInputBuffer.java