Trait/Object

basis.data

ArrayData

Related Docs: object ArrayData | package data

Permalink

trait ArrayData extends Family[ArrayData] with Loader with Storer

Source
ArrayData.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. ArrayData
  2. Storer
  3. Loader
  4. ByteOrder
  5. Equals
  6. Family
  7. Any
Implicitly
  1. by LoaderToOps
  2. by StorerToOps
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Endian = Endianness

    Permalink
    Definition Classes
    ByteOrder
  2. type Family = ArrayData

    Permalink
    Definition Classes
    Family

Abstract Value Members

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

    Permalink

    Returns an endian ordered view of the address space.

    Returns an endian ordered view of the address space.

    Definition Classes
    ArrayDataStorerLoader
  2. abstract def drop(lower: Long): ArrayData with ByteOrder[Endian]

    Permalink
  3. abstract def endian: Endian

    Permalink

    Returns the internal byte order.

    Returns the internal byte order.

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

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

    Permalink

    Loads a single byte.

    Loads a single byte.

    address

    the address to load.

    returns

    the loaded Byte value.

    Definition Classes
    Loader
  6. abstract def reader(address: Long): Reader with ByteOrder[Endian]

    Permalink

    Returns a Reader starting at address.

    Returns a Reader starting at address.

    Definition Classes
    Loader
  7. abstract def size: Long

    Permalink

    Returns the size in bytes of the address space.

    Returns the size in bytes of the address space.

    Definition Classes
    Storer
  8. abstract def slice(lower: Long, upper: Long): ArrayData with ByteOrder[Endian]

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

    Permalink

    Stores a single byte.

    Stores a single byte.

    address

    the storage address.

    value

    the Byte value to store.

    Definition Classes
    Storer
  10. abstract def take(upper: Long): ArrayData with ByteOrder[Endian]

    Permalink
  11. abstract def toArray: Array[Byte]

    Permalink

    Converts this data to a byte array in the most efficient way possible.

    Converts this data to a byte array in the most efficient way possible. Mutable data may return an internal buffer.

    Definition Classes
    Loader

Concrete Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def ++(that: Loader)(implicit framer: Framer with From[Loader]): (framer)#State

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def canEqual(other: Any): Boolean

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

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

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

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

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

    Permalink

    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.

    Definition Classes
    Loader
  12. def loadAlignedFloat(address: Long): Float

    Permalink

    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.

    Definition Classes
    Loader
  13. def loadAlignedInt(address: Long): Int

    Permalink

    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.

    Definition Classes
    Loader
  14. def loadAlignedLong(address: Long): Long

    Permalink

    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.

    Definition Classes
    Loader
  15. def loadAlignedShort(address: Long): Short

    Permalink

    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.

    Definition Classes
    Loader
  16. macro def loadArray[T](address: Long, count: Int)(implicit T: Struct[T]): Array[T]

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

    Permalink

    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.

    Definition Classes
    Loader
  18. def loadDoubleBE(address: Long): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  19. def loadDoubleLE(address: Long): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  20. def loadFloat(address: Long): Float

    Permalink

    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.

    Definition Classes
    Loader
  21. def loadFloatBE(address: Long): Float

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  22. def loadFloatLE(address: Long): Float

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  23. def loadInt(address: Long): Int

    Permalink

    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.

    Definition Classes
    Loader
  24. def loadIntBE(address: Long): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  25. def loadIntLE(address: Long): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  26. def loadLong(address: Long): Long

    Permalink

    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.

    Definition Classes
    Loader
  27. def loadLongBE(address: Long): Long

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  28. def loadLongLE(address: Long): Long

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  29. def loadShort(address: Long): Short

    Permalink

    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.

    Definition Classes
    Loader
  30. def loadShortBE(address: Long): Short

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  31. def loadShortLE(address: Long): Short

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  32. macro def loadToArray[T](address: Long, array: Array[T], start: Int, count: Int)(implicit T: Struct[T]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  33. def loadVolatileByte(address: Long): Byte

    Permalink

    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.

    Definition Classes
    Loader
  34. def loadVolatileDouble(address: Long): Double

    Permalink

    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.

    Definition Classes
    Loader
  35. def loadVolatileFloat(address: Long): Float

    Permalink

    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.

    Definition Classes
    Loader
  36. def loadVolatileInt(address: Long): Int

    Permalink

    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.

    Definition Classes
    Loader
  37. def loadVolatileLong(address: Long): Long

    Permalink

    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.

    Definition Classes
    Loader
  38. def loadVolatileShort(address: Long): Short

    Permalink

    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.

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

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

    Permalink

    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.

    Definition Classes
    Storer
  41. def storeAlignedFloat(address: Long, value: Float): Unit

    Permalink

    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.

    Definition Classes
    Storer
  42. def storeAlignedInt(address: Long, value: Int): Unit

    Permalink

    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.

    Definition Classes
    Storer
  43. def storeAlignedLong(address: Long, value: Long): Unit

    Permalink

    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.

    Definition Classes
    Storer
  44. def storeAlignedShort(address: Long, value: Short): Unit

    Permalink

    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.

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

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

    Permalink

    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.

    Definition Classes
    Storer
  47. def storeDoubleBE(address: Long, value: Double): Unit

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

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

    Permalink

    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.

    Definition Classes
    Storer
  50. def storeFloatBE(address: Long, value: Float): Unit

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

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

    Permalink

    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.

    Definition Classes
    Storer
  53. def storeIntBE(address: Long, value: Int): Unit

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

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

    Permalink

    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.

    Definition Classes
    Storer
  56. def storeLongBE(address: Long, value: Long): Unit

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

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

    Permalink

    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.

    Definition Classes
    Storer
  59. def storeShortBE(address: Long, value: Short): Unit

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

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

    Permalink

    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.

    Definition Classes
    Storer
  62. def storeVolatileDouble(address: Long, value: Double): Unit

    Permalink

    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.

    Definition Classes
    Storer
  63. def storeVolatileFloat(address: Long, value: Float): Unit

    Permalink

    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.

    Definition Classes
    Storer
  64. def storeVolatileInt(address: Long, value: Int): Unit

    Permalink

    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.

    Definition Classes
    Storer
  65. def storeVolatileLong(address: Long, value: Long): Unit

    Permalink

    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.

    Definition Classes
    Storer
  66. def storeVolatileShort(address: Long, value: Short): Unit

    Permalink

    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.

    Definition Classes
    Storer
  67. def stringPrefix: String

    Permalink
    Attributes
    protected
    Definition Classes
    Loader
  68. def toBase16: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  69. def toBase64: String

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

    Permalink
    Definition Classes
    Loader → Any
  71. def writeBase16(builder: Builder[Int]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from ArrayData to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  72. def writeBase64(builder: Builder[Int]): Unit

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

Inherited from Storer

Inherited from Loader

Inherited from ByteOrder[Endianness]

Inherited from Equals

Inherited from basis.Family[ArrayData]

Inherited from Any

Inherited by implicit conversion LoaderToOps from ArrayData to LoaderOps[Loader]

Inherited by implicit conversion StorerToOps from ArrayData to StorerOps

Aligned

General

Unaligned

Volatile

Ungrouped