ByteStack

class ByteStack(val maxSize: Int = 1000)(source)

Constructors

Link copied to clipboard
constructor(maxSize: Int = 1000)

Properties

Link copied to clipboard
val maxSize: Int = 1000
Link copied to clipboard
var size: Int

Functions

Link copied to clipboard
fun peek(): Byte
Link copied to clipboard
fun pop(): Byte
fun pop(size: Int): ByteArray
Link copied to clipboard
fun popByte(): Byte
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun popInt(): Int
Link copied to clipboard
fun popLong(): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun popUInt(): UInt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun push(value: Byte)
fun push(values: ByteArray)
fun push(value: Double)
fun push(value: Float)
fun push(value: Int)
fun push(value: Long)
fun push(value: Short)
@JvmName(name = "pushUByte")
fun push(uByte: UByte)
@JvmName(name = "pushUInt")
fun push(uInt: UInt)
@JvmName(name = "pushULong")
fun push(uLong: ULong)
@JvmName(name = "pushUShort")
fun push(uShort: UShort)
Link copied to clipboard