public static long readUnsignedInt(ByteBuffer buffer) {
        return buffer.getInt() & 0xffffffffL;
    }
Read an unsigned integer from the current position in the buffer, incrementing the position by 4 bytes

@param buffer The buffer to read from
@return The integer read, as a long to avoid signedness
clients/src/main/java/org/apache/kafka/common/utils/ByteUtils.java