public static int readUnsignedIntLE(byte[] buffer, int offset) {
        return (buffer[offset] << 0 & 0xff)
                | ((buffer[offset + 1] & 0xff) << 8)
                | ((buffer[offset + 2] & 0xff) << 16)
                | ((buffer[offset + 3] & 0xff) << 24);
    }
Read an unsigned integer stored in little-endian format from a byte array
at a given offset.

@param buffer The byte array to read from
@param offset The position in buffer to read from
@return The integer read (MUST BE TREATED WITH SPECIAL CARE TO AVOID SIGNEDNESS)
clients/src/main/java/org/apache/kafka/common/utils/ByteUtils.java