decodeTimestamp

Decodes this value as a Timestamp.

Timestamp is a special MongoDB type with a precision of one second, which is mainly used in the oplog.

For everyday use cases, the Kotlin type Instant (see decodeInstant) is a better alternative, with millisecond precision.

Throws