public static StreamRecordBatch decode(ByteBuf buf) {
        return decode(buf, false);
    }
Decode a stream record batch from a byte buffer and move the reader index.
The returned stream record batch shares the payload buffer with the input buffer.
s3stream/src/main/java/com/automq/stream/s3/StreamRecordBatchCodec.java