tuweni / org.apache.tuweni.evm.impl / Memory

Memory

class Memory (source)

Constructors

<init>

Memory()

Properties

memoryData

var memoryData: MutableBytes?

wordsSize

var wordsSize: UInt256!

Functions

allocatedBytes

fun allocatedBytes(): UInt256

newSize

fun newSize(memOffset: UInt256, length: UInt256): UInt256

read

fun read(from: UInt256, length: UInt256): Bytes?

size

fun size(): UInt256

write

fun write(offset: UInt256, sourceOffset: UInt256, numBytes: UInt256, code: Bytes): Boolean

Companion Object Properties

capacity

val capacity: Int

logger

val logger: Logger!