Packages

c

reactivemongo.bson.buffer

ArrayBSONBuffer

class ArrayBSONBuffer extends WritableBuffer

An array-backed writable buffer.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayBSONBuffer
  2. WritableBuffer
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArrayBSONBuffer()
  2. new ArrayBSONBuffer(buffer: ByteBuf)
    Attributes
    protected[reactivemongo.bson.buffer]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toany2stringadd[ArrayBSONBuffer] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ArrayBSONBuffer, B)
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toArrowAssoc[ArrayBSONBuffer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def array: Array[Byte]

    Returns an array containing all the data that were put in this buffer.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bytebuffer(size: Int): ByteBuffer
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def ensuring(cond: (ArrayBSONBuffer) => Boolean, msg: => Any): ArrayBSONBuffer
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toEnsuring[ArrayBSONBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (ArrayBSONBuffer) => Boolean): ArrayBSONBuffer
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toEnsuring[ArrayBSONBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): ArrayBSONBuffer
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toEnsuring[ArrayBSONBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): ArrayBSONBuffer
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toEnsuring[ArrayBSONBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toStringFormat[ArrayBSONBuffer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def index: Int

    Returns the current write index of this buffer.

    Returns the current write index of this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def setInt(index: Int, value: Int): ArrayBSONBuffer.this.type

    Replaces 4 bytes at the given index by the given value

    Replaces 4 bytes at the given index by the given value

    Definition Classes
    ArrayBSONBufferWritableBuffer
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toReadableBuffer(): ArrayReadableBuffer
    Definition Classes
    ArrayBSONBufferWritableBuffer
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. def writeByte(byte: Byte): WritableBuffer

    Writes the given Byte into this buffer.

    Writes the given Byte into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  33. def writeBytes(buf: ReadableBuffer): ArrayBSONBuffer.this.type

    Writes the bytes stored in the given buffer into this buffer.

    Writes the bytes stored in the given buffer into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  34. def writeBytes(array: Array[Byte]): ArrayBSONBuffer.this.type

    Writes the bytes stored in the given array into this buffer.

    Writes the bytes stored in the given array into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  35. def writeCString(s: String): WritableBuffer

    Write a UTF-8 encoded C-Style String.

    Write a UTF-8 encoded C-Style String.

    Definition Classes
    WritableBuffer
  36. def writeDouble(double: Double): WritableBuffer

    Writes the given Double into this buffer.

    Writes the given Double into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  37. def writeInt(int: Int): WritableBuffer

    Writes the given Int into this buffer.

    Writes the given Int into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  38. def writeLong(long: Long): WritableBuffer

    Writes the given Long into this buffer.

    Writes the given Long into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  39. def writeString(s: String): WritableBuffer

    Write a UTF-8 encoded String.

    Write a UTF-8 encoded String.

    Definition Classes
    WritableBuffer

Deprecated Value Members

  1. def [B](y: B): (ArrayBSONBuffer, B)
    Implicit
    This member is added by an implicit conversion from ArrayBSONBuffer toArrowAssoc[ArrayBSONBuffer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from WritableBuffer

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromArrayBSONBuffer to any2stringadd[ArrayBSONBuffer]

Inherited by implicit conversion StringFormat fromArrayBSONBuffer to StringFormat[ArrayBSONBuffer]

Inherited by implicit conversion Ensuring fromArrayBSONBuffer to Ensuring[ArrayBSONBuffer]

Inherited by implicit conversion ArrowAssoc fromArrayBSONBuffer to ArrowAssoc[ArrayBSONBuffer]

Ungrouped