trait WritableBuffer extends AnyRef
A writable buffer.
The implementation MUST ensure it stores data in little endian when needed.
- Self Type
- WritableBuffer
- Alphabetic
- By Inheritance
- WritableBuffer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def index: Int
Returns the current write index of this buffer.
- abstract def setInt(index: Int, value: Int): WritableBuffer
Replaces 4 bytes at the given
index
by the givenvalue
- abstract def toReadableBuffer(): ReadableBuffer
- abstract def writeByte(byte: Byte): WritableBuffer
Writes the given
Byte
into this buffer. - abstract def writeBytes(array: Array[Byte]): WritableBuffer.this.type
Writes the bytes stored in the given
array
into this buffer. - abstract def writeDouble(double: Double): WritableBuffer
Writes the given
Double
into this buffer. - abstract def writeInt(int: Int): WritableBuffer
Writes the given
Int
into this buffer. - abstract def writeLong(long: Long): WritableBuffer
Writes the given
Long
into this buffer.
Concrete 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 WritableBuffer toany2stringadd[WritableBuffer] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (WritableBuffer, B)
- Implicit
- This member is added by an implicit conversion from WritableBuffer toArrowAssoc[WritableBuffer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (WritableBuffer) => Boolean, msg: => Any): WritableBuffer
- Implicit
- This member is added by an implicit conversion from WritableBuffer toEnsuring[WritableBuffer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (WritableBuffer) => Boolean): WritableBuffer
- Implicit
- This member is added by an implicit conversion from WritableBuffer toEnsuring[WritableBuffer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): WritableBuffer
- Implicit
- This member is added by an implicit conversion from WritableBuffer toEnsuring[WritableBuffer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): WritableBuffer
- Implicit
- This member is added by an implicit conversion from WritableBuffer toEnsuring[WritableBuffer] 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 WritableBuffer toStringFormat[WritableBuffer] 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()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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 writeBytes(buffer: ReadableBuffer): WritableBuffer.this.type
Writes the bytes stored in the given
buffer
into this buffer. - def writeCString(s: String): WritableBuffer
Write a UTF-8 encoded C-Style String.
- def writeString(s: String): WritableBuffer
Write a UTF-8 encoded String.
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): (WritableBuffer, B)
- Implicit
- This member is added by an implicit conversion from WritableBuffer toArrowAssoc[WritableBuffer] 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.