UnitTranscoder

open class UnitTranscoder<Z> : ResourceTranscoder<Z, R>

A simple ResourceTranscoder that simply returns the given resource.

Parameters

<Z>

The type of the resource that will be transcoded from and to.

Functions

Link copied to clipboard
open fun <Z> get(): ResourceTranscoder<Z, Z>
Link copied to clipboard
open fun transcode(toTranscode: Resource<Z>, options: Options): Resource<Z>
Transcodes the given resource to the new resource type and returns the new resource.