toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.bytecode.interpreter
/
com.shakelang.shake.bytecode.interpreter.heap
/
GlobalMemory
Global
Memory
class
GlobalMemory
(
source
)
Members
Constructors
Global
Memory
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
contents
Link copied to clipboard
var
contents
:
Array
<
ByteArray
>
inner
Size
Link copied to clipboard
val
innerSize
:
Int
outer
Size
Link copied to clipboard
var
outerSize
:
Int
size
Link copied to clipboard
var
size
:
Long
Functions
contains
Link copied to clipboard
fun
contains
(
pointer
:
Long
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
pointer
:
Long
)
:
Byte
operator
fun
get
(
outer
:
Int
,
inner
:
Int
)
:
Byte
get
Boolean
Link copied to clipboard
fun
getBoolean
(
pointer
:
Long
)
:
Boolean
get
Byte
Link copied to clipboard
fun
getByte
(
pointer
:
Long
)
:
Byte
get
Bytes
Link copied to clipboard
fun
getBytes
(
pointer
:
Long
,
length
:
Long
)
:
ByteArray
get
Char
Link copied to clipboard
fun
getChar
(
pointer
:
Long
)
:
Char
get
Double
Link copied to clipboard
fun
getDouble
(
pointer
:
Long
)
:
Double
get
Float
Link copied to clipboard
fun
getFloat
(
pointer
:
Long
)
:
Float
get
Int
Link copied to clipboard
fun
getInt
(
pointer
:
Long
)
:
Int
get
Long
Link copied to clipboard
fun
getLong
(
pointer
:
Long
)
:
Long
get
Pointer
Link copied to clipboard
fun
getPointer
(
pointer
:
Long
)
:
Long
get
Short
Link copied to clipboard
fun
getShort
(
pointer
:
Long
)
:
Short
get
UByte
Link copied to clipboard
fun
getUByte
(
pointer
:
Long
)
:
UByte
get
UInt
Link copied to clipboard
fun
getUInt
(
pointer
:
Long
)
:
UInt
get
ULong
Link copied to clipboard
fun
getULong
(
pointer
:
Long
)
:
ULong
get
UShort
Link copied to clipboard
fun
getUShort
(
pointer
:
Long
)
:
UShort
grow
Link copied to clipboard
fun
grow
(
blocks
:
Int
)
is
Pointer
Link copied to clipboard
fun
isPointer
(
pointer
:
Long
)
:
Boolean
set
Link copied to clipboard
operator
fun
set
(
pointer
:
Long
,
value
:
Byte
)
operator
fun
set
(
outer
:
Int
,
inner
:
Int
,
value
:
Byte
)
set
Boolean
Link copied to clipboard
fun
setBoolean
(
pointer
:
Long
,
value
:
Boolean
)
set
Byte
Link copied to clipboard
fun
setByte
(
pointer
:
Long
,
value
:
Byte
)
set
Bytes
Link copied to clipboard
fun
setBytes
(
pointer
:
Long
,
bytes
:
ByteArray
)
set
Char
Link copied to clipboard
fun
setChar
(
pointer
:
Long
,
value
:
Char
)
set
Double
Link copied to clipboard
fun
setDouble
(
pointer
:
Long
,
value
:
Double
)
set
Float
Link copied to clipboard
fun
setFloat
(
pointer
:
Long
,
value
:
Float
)
set
Int
Link copied to clipboard
fun
setInt
(
pointer
:
Long
,
value
:
Int
)
set
Long
Link copied to clipboard
fun
setLong
(
pointer
:
Long
,
value
:
Long
)
set
Pointer
Link copied to clipboard
fun
setPointer
(
pointer
:
Long
,
value
:
Long
)
set
Short
Link copied to clipboard
fun
setShort
(
pointer
:
Long
,
value
:
Short
)
set
UByte
Link copied to clipboard
fun
setUByte
(
pointer
:
Long
,
value
:
UByte
)
set
UInt
Link copied to clipboard
fun
setUInt
(
pointer
:
Long
,
value
:
UInt
)
set
ULong
Link copied to clipboard
fun
setULong
(
pointer
:
Long
,
value
:
ULong
)
set
UShort
Link copied to clipboard
fun
setUShort
(
pointer
:
Long
,
value
:
UShort
)