basis.data

Storer

trait Storer extends ByteOrder[Endianness]

Source
Storer.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. Storer
  2. ByteOrder
  3. Any
Implicitly
  1. by StorerToOps
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Endian = Endianness

    Definition Classes
    ByteOrder

Abstract Value Members

  1. abstract def as[E <: Endianness](endian: E): Storer with ByteOrder[E]

    Returns an endian ordered view of the address space.

  2. abstract def endian: Endian

    Returns the internal byte order.

    Returns the internal byte order.

    Definition Classes
    ByteOrder
  3. abstract def getClass(): Class[_]

    Definition Classes
    Any
  4. abstract def size: Long

    Returns the size in bytes of the address space.

  5. abstract def storeByte(address: Long, value: Byte): Unit

    Stores a single byte.

    Stores a single byte.

    address

    the storage address.

    value

    the Byte value to store.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Definition Classes
    Any
  6. def hashCode(): Int

    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  8. macro def store[T](address: Long, value: T)(implicit T: Struct[T]): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  9. def storeAlignedDouble(address: Long, value: Double): Unit

    Stores a native-endian Double value as an 8-byte endian ordered word.

    Stores a native-endian Double value as an 8-byte endian ordered word. Truncates address to 8-byte alignment.

    address

    the 8-byte aligned storage address.

    value

    the Double value to store.

  10. def storeAlignedFloat(address: Long, value: Float): Unit

    Stores a native-endian Float value as a 4-byte endian ordered word.

    Stores a native-endian Float value as a 4-byte endian ordered word. Truncates address to 4-byte alignment.

    address

    the 4-byte aligned storage address.

    value

    the Float value to store.

  11. def storeAlignedInt(address: Long, value: Int): Unit

    Stores a native-endian Int value as a 4-byte endian ordered word.

    Stores a native-endian Int value as a 4-byte endian ordered word. Truncates address to 4-byte alignment.

    address

    the 4-byte aligned storage address.

    value

    the Int value to store.

  12. def storeAlignedLong(address: Long, value: Long): Unit

    Store a native-endian Long value as an 8-byte endian ordered word.

    Store a native-endian Long value as an 8-byte endian ordered word. Truncates address to 8-byte alignment.

    address

    the 8-byte aligned storage address.

    value

    the Long value to store.

  13. def storeAlignedShort(address: Long, value: Short): Unit

    Stores a native-endian Short value as a 2-byte endian ordered word.

    Stores a native-endian Short value as a 2-byte endian ordered word. Truncates address to 2-byte alignment.

    address

    the 2-byte aligned storage address.

    value

    the Short value to store.

  14. macro def storeArray[T](address: Long, array: Array[T], start: Int, count: Int)(implicit T: Struct[T]): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  15. def storeDouble(address: Long, value: Double): Unit

    Stores a native-endian Double value as an 8-byte endian ordered word.

    Stores a native-endian Double value as an 8-byte endian ordered word.

    address

    the storage address.

    value

    the Double value to store.

  16. def storeDoubleBE(address: Long, value: Double): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  17. def storeDoubleLE(address: Long, value: Double): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  18. def storeFloat(address: Long, value: Float): Unit

    Stores a native-endian Float value as a 4-byte endian ordered word.

    Stores a native-endian Float value as a 4-byte endian ordered word.

    address

    the storage address.

    value

    the Float value to store.

  19. def storeFloatBE(address: Long, value: Float): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  20. def storeFloatLE(address: Long, value: Float): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  21. def storeInt(address: Long, value: Int): Unit

    Stores a native-endian Int value as a 4-byte endian ordered word.

    Stores a native-endian Int value as a 4-byte endian ordered word.

    address

    the storage address.

    value

    the Int value to store.

  22. def storeIntBE(address: Long, value: Int): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  23. def storeIntLE(address: Long, value: Int): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  24. def storeLong(address: Long, value: Long): Unit

    Stores a native-endian Long value as an 8-byte endian ordered word.

    Stores a native-endian Long value as an 8-byte endian ordered word.

    address

    the storage address.

    value

    the Long value to store.

  25. def storeLongBE(address: Long, value: Long): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  26. def storeLongLE(address: Long, value: Long): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  27. def storeShort(address: Long, value: Short): Unit

    Stores a native-endian Short value as a 2-byte endian ordered word.

    Stores a native-endian Short value as a 2-byte endian ordered word.

    address

    the storage address.

    value

    the Short value to store.

  28. def storeShortBE(address: Long, value: Short): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  29. def storeShortLE(address: Long, value: Short): Unit

    Implicit information
    This member is added by an implicit conversion from Storer to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  30. def storeVolatileByte(address: Long, value: Byte): Unit

    Stores a single byte with volatile semantics if isCoherent.

    Stores a single byte with volatile semantics if isCoherent.

    address

    the storage address.

    value

    the Byte value to store.

  31. def storeVolatileDouble(address: Long, value: Double): Unit

    Stores a native-endian Double value as an 8-byte endian ordered word with volatile semantics if isCoherent.

    Stores a native-endian Double value as an 8-byte endian ordered word with volatile semantics if isCoherent. Truncates address to 8-byte alignment.

    address

    the 8-byte aligned storage address.

    value

    the Double value to store.

  32. def storeVolatileFloat(address: Long, value: Float): Unit

    Stores a native-endian Float value as a 4-byte endian ordered word with volatile semantics if isCoherent.

    Stores a native-endian Float value as a 4-byte endian ordered word with volatile semantics if isCoherent. Truncates address to 4-byte alignment.

    address

    the 4-byte aligned storage address.

    value

    the Float value to store.

  33. def storeVolatileInt(address: Long, value: Int): Unit

    Stores a native-endian Int value as a 4-byte endian ordered word with volatile semantics if isCoherent.

    Stores a native-endian Int value as a 4-byte endian ordered word with volatile semantics if isCoherent. Truncates address to 4-byte alignment.

    address

    the 4-byte aligned storage address.

    value

    the Int value to store.

  34. def storeVolatileLong(address: Long, value: Long): Unit

    Store a native-endian Long value as an 8-byte endian ordered word with volatile semantics if isCoherent.

    Store a native-endian Long value as an 8-byte endian ordered word with volatile semantics if isCoherent. Truncates address to 8-byte alignment.

    address

    the 8-byte aligned storage address.

    value

    the Long value to store.

  35. def storeVolatileShort(address: Long, value: Short): Unit

    Stores a native-endian Short value as a 2-byte endian ordered word with volatile semantics if isCoherent.

    Stores a native-endian Short value as a 2-byte endian ordered word with volatile semantics if isCoherent. Truncates address to 2-byte alignment.

    address

    the 2-byte aligned storage address.

    value

    the Short value to store.

  36. def toString(): String

    Definition Classes
    Any

Inherited from ByteOrder[Endianness]

Inherited from Any

Inherited by implicit conversion StorerToOps from Storer to StorerOps

Aligned

General

Unaligned

Volatile

Ungrouped