public boolean releaseBytes(byte[] bytes) {
        if (bytes.length != TEMP_BYTES_SIZE) {
            return false;
        }

        boolean accepted = false;
        synchronized (tempQueue) {
            if (tempQueue.size() < MAX_BYTE_ARRAY_COUNT) {
                accepted = true;
                tempQueue.offer(bytes);
            }
        }
        return accepted;
    }
Adds the given byte array to the pool if it is the correct size and the pool is not full and returns true if
the byte array was added and false otherwise.

@param bytes The bytes to try to add to the pool.
core/src/main/java/com/bumptech/glide/util/ByteArrayPool.java