basis.data

ArrayDataBE

final class ArrayDataBE extends AnyVal with Family[ArrayDataBE] with ByteOrder[BigEndian] with ArrayData

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

Instance Constructors

  1. new ArrayDataBE(__: Array[Byte])

Type Members

  1. type Endian = BigEndian

    Definition Classes
    ByteOrder
  2. type Family = ArrayDataBE

    Definition Classes
    Family

Value Members

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

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

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

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

    Definition Classes
    Any
  5. val __: Array[Byte]

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

    Returns an endian ordered view of the address space.

    Returns an endian ordered view of the address space.

    Definition Classes
    ArrayDataBEArrayDataStorerLoader
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(other: Any): Boolean

    Definition Classes
    Loader → Equals
  9. def drop(lower: Long): ArrayDataBE

    Definition Classes
    ArrayDataBEArrayData
  10. def endian: BigEndian

    Returns the internal byte order.

    Returns the internal byte order.

    Definition Classes
    ArrayDataBEByteOrder
  11. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  12. final def isInstanceOf[T0]: Boolean

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  14. 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.

    Definition Classes
    ArrayDataBELoader
  15. 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.

    Definition Classes
    ArrayDataBELoader
  16. 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.

    Definition Classes
    ArrayDataBELoader
  17. 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.

    Definition Classes
    ArrayDataBELoader
  18. 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.

    Definition Classes
    ArrayDataBELoader
  19. 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 ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  20. def loadByte(address: Long): Byte

    Loads a single byte.

    Loads a single byte.

    address

    the address to load.

    returns

    the loaded Byte value.

    Definition Classes
    ArrayDataBELoader
  21. 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.

    Definition Classes
    ArrayDataBELoader
  22. def loadDoubleBE(address: Long): Double

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  24. 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.

    Definition Classes
    ArrayDataBELoader
  25. def loadFloatBE(address: Long): Float

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  27. 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.

    Definition Classes
    ArrayDataBELoader
  28. def loadIntBE(address: Long): Int

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  30. 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.

    Definition Classes
    ArrayDataBELoader
  31. def loadLongBE(address: Long): Long

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  33. 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.

    Definition Classes
    ArrayDataBELoader
  34. def loadShortBE(address: Long): Short

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  36. 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 ArrayDataBE to LoaderOps[Loader] performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  37. 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.

    Definition Classes
    Loader
  38. 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.

    Definition Classes
    Loader
  39. 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.

    Definition Classes
    Loader
  40. 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.

    Definition Classes
    Loader
  41. 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.

    Definition Classes
    Loader
  42. 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.

    Definition Classes
    Loader
  43. def reader(address: Long): Reader with ByteOrder[BigEndian]

    Returns a Reader starting at address.

    Returns a Reader starting at address.

    Definition Classes
    ArrayDataBELoader
  44. def size: Long

    Returns the size in bytes of the address space.

    Returns the size in bytes of the address space.

    Definition Classes
    ArrayDataBEStorerLoader
  45. def slice(lower: Long, upper: Long): ArrayDataBE

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  47. 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.

    Definition Classes
    ArrayDataBEStorer
  48. 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.

    Definition Classes
    ArrayDataBEStorer
  49. 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.

    Definition Classes
    ArrayDataBEStorer
  50. 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.

    Definition Classes
    ArrayDataBEStorer
  51. 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.

    Definition Classes
    ArrayDataBEStorer
  52. 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 ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  53. 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.

    Definition Classes
    ArrayDataBEStorer
  54. 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.

    Definition Classes
    ArrayDataBEStorer
  55. def storeDoubleBE(address: Long, value: Double): Unit

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  57. 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.

    Definition Classes
    ArrayDataBEStorer
  58. def storeFloatBE(address: Long, value: Float): Unit

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  60. 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.

    Definition Classes
    ArrayDataBEStorer
  61. def storeIntBE(address: Long, value: Int): Unit

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  63. 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.

    Definition Classes
    ArrayDataBEStorer
  64. def storeLongBE(address: Long, value: Long): Unit

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  66. 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.

    Definition Classes
    ArrayDataBEStorer
  67. def storeShortBE(address: Long, value: Short): Unit

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

    Implicit information
    This member is added by an implicit conversion from ArrayDataBE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  69. 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.

    Definition Classes
    Storer
  70. 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.

    Definition Classes
    Storer
  71. 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.

    Definition Classes
    Storer
  72. 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.

    Definition Classes
    Storer
  73. 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.

    Definition Classes
    Storer
  74. 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.

    Definition Classes
    Storer
  75. def stringPrefix: String

    Attributes
    protected
    Definition Classes
    ArrayDataBELoader
  76. def take(upper: Long): ArrayDataBE

    Definition Classes
    ArrayDataBEArrayData
  77. def toArray: Array[Byte]

    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
    ArrayDataBELoader
  78. def toBase16: String

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

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

    Definition Classes
    Loader → Any
  81. def writeBase16(builder: StringBuilder): Unit

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

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

Inherited from ArrayData

Inherited from Storer

Inherited from Loader

Inherited from Equals

Inherited from ByteOrder[BigEndian]

Inherited from basis.Family[ArrayDataBE]

Inherited from AnyVal

Inherited from Any

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

Inherited by implicit conversion StorerToOps from ArrayDataBE to StorerOps

Aligned

General

Unaligned

Volatile

Ungrouped