public GenericRequestBuilder<ModelType, DataType, ResourceType, TranscodeType> sourceEncoder(
            Encoder<DataType> sourceEncoder) {
        if (loadProvider != null) {
            loadProvider.setSourceEncoder(sourceEncoder);
        }

        return this;
    }
Sets the source encoder to use to encode the data retrieved by this request directly into cache. The returned
resource will then be decoded from the cached data.

@see DiskCacheStrategy

@param sourceEncoder The encoder to use.
@return This request builder.
core/src/main/java/com/bumptech/glide/GenericRequestBuilder.java