basis.form.JsonVariant

DataForm

abstract type DataForm <: JsonData with AnyForm

A binary data variant form.

Definition Classes
JsonVariantVariant
Source
JsonVariant.scala
Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. DataForm
  2. JsonData
  3. BaseData
  4. Loader
  5. ByteOrder
  6. Family
  7. Equals
  8. JsonValue
  9. BaseValue
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Endian = E

    Definition Classes
    ByteOrder
  2. type Family = Base

    Definition Classes
    Family

Abstract Value Members

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

    Returns an endian ordered view of the address space.

    Returns an endian ordered view of the address space.

    Definition Classes
    BaseDataLoader
  2. abstract def endian: Endian

    Returns the internal byte order.

    Returns the internal byte order.

    Definition Classes
    ByteOrder
  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.

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

    Returns a Reader starting at address.

    Returns a Reader starting at address.

    Definition Classes
    Loader
  5. abstract def size: Long

    Returns the size in bytes of the address space.

    Returns the size in bytes of the address space.

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

Concrete Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def /(index: Int): Variant.AnyForm

    Definition Classes
    BaseValue
  4. def /(key: String): Variant.AnyForm

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

    Definition Classes
    AnyRef → Any
  6. def asBoolForm: Variant.BoolForm

    Definition Classes
    BaseValue
  7. def asDataForm: Variant.DataForm

    Definition Classes
    BaseDataBaseValue
  8. def asDateForm: Variant.DateForm

    Definition Classes
    BaseValue
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def asNullForm: Variant.NullForm

    Definition Classes
    BaseValue
  11. def asNumberForm: Variant.NumberForm

    Definition Classes
    BaseValue
  12. def asObjectForm: Variant.ObjectForm

    Definition Classes
    BaseValue
  13. def asSeqForm: Variant.SeqForm

    Definition Classes
    BaseValue
  14. def asSetForm: Variant.SetForm

    Definition Classes
    BaseValue
  15. def asTextForm: Variant.TextForm

    Definition Classes
    BaseValue
  16. def canEqual(other: Any): Boolean

    Definition Classes
    Loader → Equals
  17. def cast[T](implicit T: Mold[T]): Maybe[T]

    Definition Classes
    BaseValue
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def coerce[T](implicit T: Mold[T]): T

    Definition Classes
    BaseValue
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(other: Any): Boolean

    Definition Classes
    Loader → Equals → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    Loader → Any
  25. def in(domain: Variant): Variant.DataForm

    Definition Classes
    BaseDataBaseValue
  26. def isBoolForm: Boolean

    Definition Classes
    BaseValue
  27. def isDataForm: Boolean

    Definition Classes
    BaseDataBaseValue
  28. def isDateForm: Boolean

    Definition Classes
    BaseValue
  29. def isDefined: Boolean

    Definition Classes
    BaseValue
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def isNullForm: Boolean

    Definition Classes
    BaseValue
  32. def isNumberForm: Boolean

    Definition Classes
    BaseValue
  33. def isObjectForm: Boolean

    Definition Classes
    BaseValue
  34. def isSeqForm: Boolean

    Definition Classes
    BaseValue
  35. def isSetForm: Boolean

    Definition Classes
    BaseValue
  36. def isTextForm: Boolean

    Definition Classes
    BaseValue
  37. 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
    Loader
  38. 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
    Loader
  39. 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
    Loader
  40. 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
    Loader
  41. 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
    Loader
  42. 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
    Loader
  43. 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
    Loader
  44. 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
    Loader
  45. 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
    Loader
  46. 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
    Loader
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  54. final def notify(): Unit

    Definition Classes
    AnyRef
  55. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  56. def stringPrefix: String

    Attributes
    protected
    Definition Classes
    BaseDataLoader
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. def toJson: String

    Definition Classes
    JsonValue
  59. def toString(): String

    Definition Classes
    Loader → Any
  60. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. def writeJson(builder: StringBuilder): Unit

    Definition Classes
    JsonDataJsonValue

Inherited from JsonData

Inherited from JsonVariant.BaseData

Inherited from Loader

Inherited from data.ByteOrder[Endianness]

Inherited from basis.Family[DataForm]

Inherited from Equals

Inherited from JsonValue

Inherited from JsonVariant.BaseValue

Inherited from AnyRef

Inherited from Any

Aligned

General

Unaligned

Volatile

Ungrouped