LdsParseResult

The outcome of turning the bytes of a chip file into a typed view.

Parsing never throws for bad chip data: a file that is not built as ICAO Doc 9303 Part 10 describes gives Failure. Your app still has the bytes it passed in.

May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Inheritors

Types

Link copied to clipboard

The file could not be read.

Link copied to clipboard
class Success<out T>(val view: T) : LdsParseResult<T>

The file was read.