basis.data

ByteBufferLE

final class ByteBufferLE extends AnyVal with ByteBuffer with ByteOrder[LittleEndian]

Source
ByteBufferLE.scala
Linear Supertypes
ByteBuffer, Storer, Loader, ByteOrder[LittleEndian], Equals, AnyVal, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. ByteBufferLE
  2. ByteBuffer
  3. Storer
  4. Loader
  5. ByteOrder
  6. Equals
  7. AnyVal
  8. 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 ByteBufferLE(__: Array[Byte])

Type Members

  1. type Endian = LittleEndian

    Definition Classes
    ByteOrder

Value Members

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

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

    Definition Classes
    Any
  3. def ++(that: Loader): ByteBufferLE

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

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

  6. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Loader → Equals
  8. def endian: LittleEndian

    Returns the internal byte order.

    Returns the internal byte order.

    Definition Classes
    ByteBufferLEByteOrder
  9. def getClass(): Class[_ <: AnyVal]

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

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

    Implicit information
    This member is added by an implicit conversion from ByteBufferLE to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  12. 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
    ByteBufferLELoader
  13. 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
    ByteBufferLELoader
  14. 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
    ByteBufferLELoader
  15. 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
    ByteBufferLELoader
  16. 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
    ByteBufferLELoader
  17. 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 ByteBufferLE to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  18. 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
    ByteBufferLELoader
  19. 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
    ByteBufferLELoader
  20. 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
    ByteBufferLELoader
  21. 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
    ByteBufferLELoader
  22. 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
    ByteBufferLELoader
  23. 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
    ByteBufferLELoader
  24. 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 ByteBufferLE to LoaderOps performed by method LoaderToOps in basis.data.
    Definition Classes
    LoaderOps
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. def reader(address: Long): Reader with ByteOrder[LittleEndian]

    Returns a Reader starting at address.

    Returns a Reader starting at address.

    Definition Classes
    ByteBufferLELoader
  32. def size: Long

    Returns the size in bytes of the address space.

    Returns the size in bytes of the address space.

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

    Implicit information
    This member is added by an implicit conversion from ByteBufferLE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  34. 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
    ByteBufferLEStorer
  35. 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
    ByteBufferLEStorer
  36. 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
    ByteBufferLEStorer
  37. 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
    ByteBufferLEStorer
  38. 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
    ByteBufferLEStorer
  39. 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 ByteBufferLE to StorerOps performed by method StorerToOps in basis.data.
    Definition Classes
    StorerOps
  40. 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
    ByteBufferLEStorer
  41. 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
    ByteBufferLEStorer
  42. 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
    ByteBufferLEStorer
  43. 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
    ByteBufferLEStorer
  44. 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
    ByteBufferLEStorer
  45. 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
    ByteBufferLEStorer
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. def stringPrefix: String

    Attributes
    protected
    Definition Classes
    ByteBufferLELoader
  53. def toArray: Array[Byte]

    Definition Classes
    ByteBufferLEByteBuffer
  54. def toBase64: String

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

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

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

Inherited from ByteBuffer

Inherited from Storer

Inherited from Loader

Inherited from ByteOrder[LittleEndian]

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion LoaderToOps from ByteBufferLE to LoaderOps

Inherited by implicit conversion StorerToOps from ByteBufferLE to StorerOps

Aligned

General

Unaligned

Volatile

Ungrouped