basis.form.ProtoVariant

DataForm

abstract type DataForm <: ProtoData with AnyForm

A binary data variant form.

Definition Classes
ProtoVariantVariant
Source
ProtoVariant.scala
Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. DataForm
  2. ProtoData
  3. BaseData
  4. Loader
  5. ByteOrder
  6. Family
  7. Equals
  8. ProtoValue
  9. FormValue
  10. BaseValue
  11. ProtoDelta
  12. DeltaValue
  13. AnyRef
  14. 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 /(key: String): DeltaVariant.AnyForm

    Definition Classes
    FormValueBaseValueDeltaValue
  4. def /(index: Int): 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. def asForm: DeltaVariant.AnyForm

    Definition Classes
    FormValueDeltaValue
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def asNullForm: Variant.NullForm

    Definition Classes
    BaseValue
  12. def asNumberForm: Variant.NumberForm

    Definition Classes
    BaseValue
  13. def asObjectDelta: DeltaVariant.ObjectDelta

    Definition Classes
    DeltaValue
  14. def asObjectForm: Variant.ObjectForm

    Definition Classes
    BaseValue
  15. def asSecretForm: SecretForm

    Definition Classes
    ProtoValue
  16. def asSeqForm: Variant.SeqForm

    Definition Classes
    BaseValue
  17. def asSetDelta: DeltaVariant.SetDelta

    Definition Classes
    DeltaValue
  18. def asSetForm: Variant.SetForm

    Definition Classes
    BaseValue
  19. def asTextForm: Variant.TextForm

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

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

    Definition Classes
    BaseValue
  22. def clone(): AnyRef

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

    Definition Classes
    BaseValue
  24. def decrypt(secretKey: Loader): AnyForm

    Definition Classes
    ProtoValue
  25. def delta(that: DeltaVariant.AnyForm): DeltaVariant.AnyDelta

    Definition Classes
    FormValue
  26. def encrypt(secretKey: Loader): AnyForm

    Definition Classes
    ProtoValue
  27. def encrypt(secretKey: Loader, iv: Loader): AnyForm

    Definition Classes
    ProtoValue
  28. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    BaseDataBaseValue
  34. def in(domain: DeltaVariant): DeltaVariant.AnyForm

    Definition Classes
    FormValueDeltaValue
  35. def isBoolForm: Boolean

    Definition Classes
    BaseValue
  36. def isDataForm: Boolean

    Definition Classes
    BaseDataBaseValue
  37. def isDateForm: Boolean

    Definition Classes
    BaseValue
  38. def isDefined: Boolean

    Definition Classes
    FormValueBaseValueDeltaValue
  39. def isDelta: Boolean

    Definition Classes
    FormValueDeltaValue
  40. def isForm: Boolean

    Definition Classes
    FormValueDeltaValue
  41. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  42. def isNullForm: Boolean

    Definition Classes
    BaseValue
  43. def isNumberForm: Boolean

    Definition Classes
    BaseValue
  44. def isObjectDelta: Boolean

    Definition Classes
    DeltaValue
  45. def isObjectForm: Boolean

    Definition Classes
    BaseValue
  46. def isSecretForm: Boolean

    Definition Classes
    ProtoValue
  47. def isSeqForm: Boolean

    Definition Classes
    BaseValue
  48. def isSetDelta: Boolean

    Definition Classes
    DeltaValue
  49. def isSetForm: Boolean

    Definition Classes
    BaseValue
  50. def isTextForm: Boolean

    Definition Classes
    BaseValue
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  70. def patch(that: DeltaVariant.AnyDelta): DeltaVariant.AnyForm

    Definition Classes
    FormValue
  71. def protoField: Field[DataForm]

    Definition Classes
    ProtoDataProtoDelta
  72. def stringPrefix: String

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

    Definition Classes
    AnyRef
  74. def toProto: Loader

    Definition Classes
    ProtoValueProtoDelta
  75. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. def writeProto(data: Writer): Unit

    Definition Classes
    ProtoValueProtoDelta

Inherited from ProtoData

Inherited from ProtoVariant.BaseData

Inherited from Loader

Inherited from data.ByteOrder[Endianness]

Inherited from basis.Family[DataForm]

Inherited from Equals

Inherited from ProtoValue

Inherited from ProtoVariant.FormValue

Inherited from ProtoVariant.BaseValue

Inherited from ProtoDelta

Inherited from ProtoVariant.DeltaValue

Inherited from AnyRef

Inherited from Any

Aligned

General

Unaligned

Volatile

Ungrouped