StartRecovery

What a decoder could establish about a packet's start, from CotXmlBuilder.buildWithOrigin.

Exists because CotXmlBuilder.build has to collapse three outcomes into one string: it writes the decode instant whenever it has nothing better, so a caller reading start back out of the XML cannot tell a recovered value from a fabricated one. That matters, because the fabricated one reads as maximally fresh and will win any comparison it is entered into.

Entries

Link copied to clipboard

A trustworthy origin time was recovered, and BuiltCot.originStart carries it.

Link copied to clipboard

The sender did not populate start_epoch_lo14.

Link copied to clipboard

The field was populated and the value was refused as out of range.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.