Unit intervals are serialized as Rational Numbers (Tag 30).

Rational numbers are numbers that can be expressed as a ratio of two integers; a numerator, usually written as the top part of a fraction, and the denominator, the bottom part. The value of a rational number is the numerator divided by the denominator.

Hierarchy

  • UnitInterval

Constructors

Properties

#denominator: bigint
#numerator: bigint
#originalBytes: undefined | HexBlob = undefined

Methods

Generated using TypeDoc