public byte[] getBytes() {
        byte[] result;
        synchronized (tempQueue) {
            result = tempQueue.poll();
        }
        if (result == null) {
            result = new byte[TEMP_BYTES_SIZE];
            if (Log.isLoggable(TAG, Log.DEBUG)) {
                Log.d(TAG, "Created temp bytes");
            }
        }
        return result;
    }
Returns a byte array by retrieving one from the pool if the pool is non empty or otherwise by creating a new
byte array.
core/src/main/java/com/bumptech/glide/util/ByteArrayPool.java