io.sureshg.extn / kotlin.Byte

Extensions for kotlin.Byte

hex

val Byte.hex: String

Convert Byte to hex. '0x100' OR is used to preserve the leading zero in case of single hex digit.

hi

val Byte.hi: Int

lo

val Byte.lo: Int

oct

val Byte.oct: String

Convert Byte to octal. '0x200' OR is used to preserve the leading zero in case of two digit octal.