Package-level declarations

Types

Link copied to clipboard
data class FieldSpec(val line: Int, val startInLine: Int, val endInLineExclusive: Int)

The position of one field in an MRZ format.

Link copied to clipboard

Field positions of the MRV-A format: two lines of 44 characters, no composite check digit.

Link copied to clipboard

Field positions of the MRV-B format: two lines of 36 characters, no composite check digit.

Link copied to clipboard
sealed interface MrzFormatSpec

The field positions of one MRZ format.

Link copied to clipboard

A format spec for formats with a composite check digit: TD1, TD2, and TD3.

Link copied to clipboard

Field positions of the TD1 format: three lines of 30 characters.

Link copied to clipboard

Field positions of the TD2 format: two lines of 36 characters.

Link copied to clipboard

Field positions of the TD3 format: two lines of 44 characters.

Functions

Link copied to clipboard

Returns this field's first character from lines.

Link copied to clipboard

Returns this field's text from lines.