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. Protected

Instance Constructors

  1. new ArrayBSONBuffer()

Value Members

  1. def array: Array[Byte]

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

  2. def bytebuffer(size: Int): ByteBuffer
  3. def index: Int

    Returns the current write index of this buffer.

    Returns the current write index of this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  4. 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
  5. def toReadableBuffer(): ArrayReadableBuffer
    Definition Classes
    ArrayBSONBufferWritableBuffer
  6. def writeByte(byte: Byte): WritableBuffer

    Writes the given Byte into this buffer.

    Writes the given Byte into this buffer.

    Definition Classes
    ArrayBSONBufferWritableBuffer
  7. 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
  8. 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
  9. def writeCString(s: String): WritableBuffer

    Write a UTF-8 encoded C-Style String.

    Write a UTF-8 encoded C-Style String.

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

    Writes the given Double into this buffer.

    Writes the given Double into this buffer.

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

    Writes the given Int into this buffer.

    Writes the given Int into this buffer.

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

    Writes the given Long into this buffer.

    Writes the given Long into this buffer.

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

    Write a UTF-8 encoded String.

    Write a UTF-8 encoded String.

    Definition Classes
    WritableBuffer