Decoder

fun interface Decoder

A Decoder converts a SourceFetchResult into a DecodeResult.

Use this interface to add support for custom file formats (e.g. GIF, SVG, TIFF, etc.).

Inheritors

Types

Link copied to clipboard
fun interface Factory

Functions

Link copied to clipboard
abstract suspend fun decode(): DecodeResult?

Decode the SourceFetchResult provided by Factory.create or return 'null' to delegate to the next Factory in the component registry.