basis.data

Loader

trait Loader extends Equals with ByteOrder[Endianness]

Source
Loader.scala
Linear Supertypes
ByteOrder[Endianness], Equals, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. Loader
  2. ByteOrder
  3. Equals
  4. Any
Implicitly
  1. by LoaderToOps
  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 endian: Endian

    Returns the internal byte order.

    Returns the internal byte order.

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

    Definition Classes
    Any
  3. abstract def loadByte(address: Long): Byte

    Loads a single byte.

    Loads a single byte.

    address

    the address to load.

    returns

    the loaded Byte value.

  4. abstract def reader(address: Long): Reader with ByteOrder[Endian]

    Returns a Reader starting at address.

  5. abstract def size: Long

    Returns the size in bytes of the address space.

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 canEqual(other: Any): Boolean

    Definition Classes
    Loader → Equals
  6. def equals(other: Any): Boolean

    Definition Classes
    Loader → Equals → Any
  7. def hashCode(): Int

    Definition Classes
    Loader → Any
  8. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  9. macro def load[T](address: Long)(implicit T: Struct[T]): T

    Implicit information
    This member is added by an implicit conversion from Loader to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  10. def loadAlignedDouble(address: Long): Double

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

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

    address

    the 8-byte aligned address to load.

    returns

    the loaded Double value.

  11. def loadAlignedFloat(address: Long): Float

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

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

    address

    the 4-byte aligned address to load.

    returns

    the loaded Float value.

  12. def loadAlignedInt(address: Long): Int

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

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

    address

    the 4-byte aligned address to load.

    returns

    the loaded Int value.

  13. def loadAlignedLong(address: Long): Long

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

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

    address

    the 8-byte aligned address to load.

    returns

    the loaded Long value.

  14. def loadAlignedShort(address: Long): Short

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

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

    address

    the 2-byte aligned address to load.

    returns

    the loaded Short value.

  15. macro def loadArray[T](address: Long, count: Int)(implicit T: Struct[T]): Array[T]

    Implicit information
    This member is added by an implicit conversion from Loader to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  16. def loadDouble(address: Long): Double

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

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

    address

    the address to load.

    returns

    the loaded Double value.

  17. def loadFloat(address: Long): Float

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

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

    address

    the address to load.

    returns

    the loaded Float value.

  18. def loadInt(address: Long): Int

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

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

    address

    the address to load.

    returns

    the loaded Int value.

  19. def loadLong(address: Long): Long

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

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

    address

    the address to load.

    returns

    the loaded Long value.

  20. def loadShort(address: Long): Short

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

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

    address

    the address to load.

    returns

    the loaded Short value.

  21. macro def loadToArray[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 Loader to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  22. def loadVolatileByte(address: Long): Byte

    Loads a single byte with volatile semantics if isCoherent.

    Loads a single byte with volatile semantics if isCoherent.

    address

    the address to load.

    returns

    the loaded Byte value.

  23. def loadVolatileDouble(address: Long): Double

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

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

    address

    the 8-byte aligned address to load.

    returns

    the loaded Double value.

  24. def loadVolatileFloat(address: Long): Float

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

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

    address

    the 4-byte aligned address to load.

    returns

    the loaded Float value.

  25. def loadVolatileInt(address: Long): Int

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

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

    address

    the 4-byte aligned address to load.

    returns

    the loaded Int value.

  26. def loadVolatileLong(address: Long): Long

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

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

    address

    the 8-byte aligned address to load.

    returns

    the loaded Long value.

  27. def loadVolatileShort(address: Long): Short

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

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

    address

    the 2-byte aligned address to load.

    returns

    the loaded Short value.

  28. def stringPrefix: String

    Attributes
    protected
  29. def toBase64: String

    Implicit information
    This member is added by an implicit conversion from Loader to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  30. def toString(): String

    Definition Classes
    Loader → Any
  31. def writeBase64(builder: StringBuilder): Unit

    Implicit information
    This member is added by an implicit conversion from Loader to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps

Inherited from ByteOrder[Endianness]

Inherited from Equals

Inherited from Any

Inherited by implicit conversion LoaderToOps from Loader to LoaderOps

Aligned

General

Unaligned

Volatile

Ungrouped