BitLength

data class BitLength(val bits: UInt) : Comparable<BitLength> (source)

Utility class to represent the bit length of curves and signatures.

Should be a value class, but the Swift export becomes impossible.

Constructors

Link copied to clipboard
constructor(bits: UInt)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bits: UInt
Link copied to clipboard

how many bits are unused padding to get to the next full byte

Link copied to clipboard
val bytes: UInt

Functions

Link copied to clipboard
open inline operator override fun compareTo(other: BitLength): Int