FlexiByte

class FlexiByte(byte: Byte, val bitIndex: Int) : Number, Comparable<Byte>

This is an extension of the Byte class for non-byte size inputs.

A FlexiByte offers better control over individual bits.

Author

Ron Lauren Hombre

Constructors

Link copied to clipboard
constructor(byte: Byte, bitIndex: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: Byte): Int
Link copied to clipboard
open override fun toByte(): Byte
Link copied to clipboard
open fun toChar(): Char
Link copied to clipboard
open override fun toDouble(): Double
Link copied to clipboard
open override fun toFloat(): Float
Link copied to clipboard
open override fun toInt(): Int
Link copied to clipboard
open override fun toLong(): Long
Link copied to clipboard
open override fun toShort(): Short