Companion

object Companion

Reads EF.DG1.

Since

1.0.0

Properties

Link copied to clipboard
const val TAG: Int = 97

The tag EF.DG1 starts with.

Functions

Link copied to clipboard
fun parse(bytes: ByteArray, referenceTime: Instant = Clock.System.now()): LdsParseResult<Dg1View>

Reads the bytes of EF.DG1. Fails with a ChipMalformedFile result, never an exception, when the file is not a DG1, the MRZ has a length no format uses, or the MRZ parser rejects it.