class ArrayBSONBuffer extends WritableBuffer
An array-backed writable buffer.
- Alphabetic
- By Inheritance
- ArrayBSONBuffer
- WritableBuffer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ArrayBSONBuffer()
- new ArrayBSONBuffer(buffer: ByteBuf)
- Attributes
- protected[bson.buffer]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def array: Array[Byte]
Returns an array containing all the data that were put in this buffer.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bytebuffer(size: Int): ByteBuffer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def index: Int
Returns the current write index of this buffer.
Returns the current write index of this buffer.
- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def setInt(index: Int, value: Int): ArrayBSONBuffer.this.type
Replaces 4 bytes at the given
index
by the givenvalue
Replaces 4 bytes at the given
index
by the givenvalue
- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toReadableBuffer(): ArrayReadableBuffer
- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeByte(byte: Byte): WritableBuffer
Writes the given
Byte
into this buffer.Writes the given
Byte
into this buffer.- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- 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
- ArrayBSONBuffer → WritableBuffer
- 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
- ArrayBSONBuffer → WritableBuffer
- def writeCString(s: String): WritableBuffer
Write a UTF-8 encoded C-Style String.
Write a UTF-8 encoded C-Style String.
- Definition Classes
- WritableBuffer
- def writeDouble(double: Double): WritableBuffer
Writes the given
Double
into this buffer.Writes the given
Double
into this buffer.- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- def writeInt(int: Int): WritableBuffer
Writes the given
Int
into this buffer.Writes the given
Int
into this buffer.- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- def writeLong(long: Long): WritableBuffer
Writes the given
Long
into this buffer.Writes the given
Long
into this buffer.- Definition Classes
- ArrayBSONBuffer → WritableBuffer
- def writeString(s: String): WritableBuffer
Write a UTF-8 encoded String.
Write a UTF-8 encoded String.
- Definition Classes
- WritableBuffer
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- 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.