Tile Data Parser
interface TileDataParser
Decodes raw HTTP bytes into a typed TileData subclass for a given source.
Functions
Link copied to clipboard
abstract suspend fun <T : TileData, U> parse(tile: Tile<T>, data: ByteArray, headers: Headers?, metadata: SourceMetadata<SourceMetadataSchema>): T
Parse downloaded bytes into T, using optional headers and source metadata for context.