toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.bytecode.interpreter
/
com.shakelang.shake.bytecode.interpreter
/
ByteStack
Byte
Stack
class
ByteStack
(
val
maxSize
:
Int
=
1000
)
(
source
)
Members
Constructors
Byte
Stack
Link copied to clipboard
constructor
(
maxSize
:
Int
=
1000
)
Properties
max
Size
Link copied to clipboard
val
maxSize
:
Int
=
1000
size
Link copied to clipboard
var
size
:
Int
Functions
peek
Link copied to clipboard
fun
peek
(
)
:
Byte
pop
Link copied to clipboard
fun
pop
(
)
:
Byte
fun
pop
(
size
:
Int
)
:
ByteArray
pop
Byte
Link copied to clipboard
fun
popByte
(
)
:
Byte
pop
Double
Link copied to clipboard
fun
popDouble
(
)
:
Double
pop
Float
Link copied to clipboard
fun
popFloat
(
)
:
Float
pop
Int
Link copied to clipboard
fun
popInt
(
)
:
Int
pop
Long
Link copied to clipboard
fun
popLong
(
)
:
Long
pop
Short
Link copied to clipboard
fun
popShort
(
)
:
Short
pop
UByte
Link copied to clipboard
fun
popUByte
(
)
:
UByte
pop
UInt
Link copied to clipboard
fun
popUInt
(
)
:
UInt
pop
ULong
Link copied to clipboard
fun
popULong
(
)
:
ULong
pop
UShort
Link copied to clipboard
fun
popUShort
(
)
:
UShort
push
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
)
to
Byte
Array
Link copied to clipboard
fun
toByteArray
(
)
:
ByteArray