void write(ByteBuffer buffer, ObjectSerializationCache serializationCache) {
        data.write(new ByteBufferAccessor(buffer), serializationCache, headerVersion);
    }
The header for a request in the Kafka protocol
clients/src/main/java/org/apache/kafka/common/requests/RequestHeader.java