private static boolean nonNull(Object o) {
        return o != null;
    }
Unmap the provided mapped or direct byte buffer.

This buffer cannot be referenced after this call, so it's highly recommended that any fields referencing it
should be set to null.

@throws IllegalArgumentException if buffer is not mapped or direct.
clients/src/main/java/org/apache/kafka/common/utils/ByteBufferUnmapper.java