basis.form.BsonVariant

DataForm

abstract type DataForm <: BsonData with AnyForm

A binary data variant form.

Definition Classes
BsonVariantVariant
Source
BsonVariant.scala
Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. DataForm
  2. BsonData
  3. BaseData
  4. Loader
  5. ByteOrder
  6. Family
  7. Equals
  8. BsonValue
  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 bsonSize: Int

    Returns the size in bytes of this form's BSON representation.

    Returns the size in bytes of this form's BSON representation.

    Definition Classes
    BsonDataBsonValue
  17. def bsonType: Byte

    Returns the type code of this form's BSON representation.

    Returns the type code of this form's BSON representation.

    Definition Classes
    BsonDataBsonValue
  18. def canEqual(other: Any): Boolean

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

    Definition Classes
    BaseValue
  20. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    BaseDataBaseValue
  28. def isBoolForm: Boolean

    Definition Classes
    BaseValue
  29. def isDataForm: Boolean

    Definition Classes
    BaseDataBaseValue
  30. def isDateForm: Boolean

    Definition Classes
    BaseValue
  31. def isDefined: Boolean

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

    Definition Classes
    Any
  33. def isNullForm: Boolean

    Definition Classes
    BaseValue
  34. def isNumberForm: Boolean

    Definition Classes
    BaseValue
  35. def isObjectForm: Boolean

    Definition Classes
    BaseValue
  36. def isSeqForm: Boolean

    Definition Classes
    BaseValue
  37. def isSetForm: Boolean

    Definition Classes
    BaseValue
  38. def isTextForm: Boolean

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

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

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

    Definition Classes
    AnyRef
  58. def stringPrefix: String

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

    Definition Classes
    AnyRef
  60. def toBson: Loader

    Returns the serialized BSON representation of this form.

    Returns the serialized BSON representation of this form.

    Definition Classes
    BsonValue
  61. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def writeBson(output: Writer): Unit

    Writes the serialized BSON representation of this form to output.

    Writes the serialized BSON representation of this form to output.

    Definition Classes
    BsonDataBsonValue

Inherited from BsonData

Inherited from BsonVariant.BaseData

Inherited from Loader

Inherited from data.ByteOrder[Endianness]

Inherited from basis.Family[DataForm]

Inherited from Equals

Inherited from BsonValue

Inherited from BsonVariant.BaseValue

Inherited from AnyRef

Inherited from Any

Aligned

General

Unaligned

Volatile

Ungrouped