Packages

trait Memory extends AnyRef

A generic memory type. A memory type can address bytes up to a maximum of 264 bytes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Memory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def readByte(address: Long): Try[Byte]

    Read a single Byte from the memory at the given address.

    Read a single Byte from the memory at the given address.

    address

    the address to read from

    returns

    a Success with the Byte read or a Failure

  2. abstract def size: Long

    Returns the size of the memory.

    Returns the size of the memory.

    returns

    the size of the memory

  3. abstract def writeByte(address: Long, value: Byte): Try[Unit]

    Write a single Byte to the memory at the given address.

    Write a single Byte to the memory at the given address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the byte was written successfully or a Failure otherwise

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def readInt(address: Long): Try[Int]

    Read an Int from the memory at address ... address + 3.

    Read an Int from the memory at address ... address + 3. The value of address will be the least significant Byte.

    address

    the address to read from

    returns

    a Success with the Int read or a Failure

  16. final def readLong(address: Long): Try[Long]

    Read a Long from the memory at address ... address + 7.

    Read a Long from the memory at address ... address + 7. The value of address will be the least significant Byte.

    address

    the address to read from

    returns

    a Success with the Long read or a Failure

  17. final def readShort(address: Long): Try[Short]

    Read a Short from the memory at address ... address + 1.

    Read a Short from the memory at address ... address + 1. The value of address will be the least significant Byte.

    address

    the address to read from

    returns

    a Success with the Short read or a Failure

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def writeInt(address: Long, value: Int): Try[Unit]

    Write an Int at address ... address + 3.

    Write an Int at address ... address + 3. The least significant Byte will be written to address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the int was written successfully or a Failure otherwise

  24. final def writeLong(address: Long, value: Long): Try[Unit]

    Write a Long at address ... address + 7.

    Write a Long at address ... address + 7. The least significant Byte will be written to address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the long was written successfully or a Failure otherwise

  25. final def writeShort(address: Long, value: Short): Try[Unit]

    Write a Short to address ... address + 1.

    Write a Short to address ... address + 1. The least significant Byte will be written to address.

    address

    the address to write to

    value

    the value to write

    returns

    a Success when the short was written successfully or a Failure otherwise

Inherited from AnyRef

Inherited from Any

Ungrouped