trait BufByteWriter extends ByteWriter
A ByteWriter that results in an owned Buf
- Alphabetic
- By Inheritance
- BufByteWriter
- ByteWriter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def owned(): Buf
In keeping with Buf terminology, creates a potential zero-copy Buf which has a reference to the same region as the ByteWriter.
In keeping with Buf terminology, creates a potential zero-copy Buf which has a reference to the same region as the ByteWriter. That is, if any methods called on the builder are propagated to the returned Buf. By definition, the builder owns the region it is writing to so this is the natural way to coerce a builder to a Buf.
- abstract def writeByte(b: Int): BufByteWriter.this.type
Write 8 bits of
b.Write 8 bits of
b. The remaining 24 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeBytes(buf: Buf): BufByteWriter.this.type
Write all the bytes from
bufinto the running buffer.Write all the bytes from
bufinto the running buffer.- Definition Classes
- ByteWriter
- abstract def writeBytes(bs: Array[Byte]): BufByteWriter.this.type
Write all the bytes from
bsinto the running buffer.Write all the bytes from
bsinto the running buffer.- Definition Classes
- ByteWriter
- abstract def writeDoubleBE(d: Double): BufByteWriter.this.type
Write 64 bits from
din big-endian order.Write 64 bits from
din big-endian order.- Definition Classes
- ByteWriter
- abstract def writeDoubleLE(d: Double): BufByteWriter.this.type
Write 64 bits from
din little-endian order.Write 64 bits from
din little-endian order.- Definition Classes
- ByteWriter
- abstract def writeFloatBE(f: Float): BufByteWriter.this.type
Write 32 bits from
fin big-endian order.Write 32 bits from
fin big-endian order.- Definition Classes
- ByteWriter
- abstract def writeFloatLE(f: Float): BufByteWriter.this.type
Write 32 bits from
fin little-endian order.Write 32 bits from
fin little-endian order.- Definition Classes
- ByteWriter
- abstract def writeIntBE(i: Long): BufByteWriter.this.type
Write 32 bits from
iin big-endian order.Write 32 bits from
iin big-endian order.- Definition Classes
- ByteWriter
- abstract def writeIntLE(i: Long): BufByteWriter.this.type
Write 32 bits from
iin little-endian order.Write 32 bits from
iin little-endian order.- Definition Classes
- ByteWriter
- abstract def writeLongBE(l: Long): BufByteWriter.this.type
Write 64 bits from
lin big-endian order.Write 64 bits from
lin big-endian order.- Definition Classes
- ByteWriter
- abstract def writeLongLE(l: Long): BufByteWriter.this.type
Write 64 bits from
lin little-endian order.Write 64 bits from
lin little-endian order.- Definition Classes
- ByteWriter
- abstract def writeMediumBE(m: Int): BufByteWriter.this.type
Write 24 bits from
min big-endian order.Write 24 bits from
min big-endian order. The remaining 8 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeMediumLE(m: Int): BufByteWriter.this.type
Write 24 bits from
min little-endian order.Write 24 bits from
min little-endian order. The remaining 8 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeShortBE(s: Int): BufByteWriter.this.type
Write 16 bits from
sin big-endian order.Write 16 bits from
sin big-endian order. The remaining 16 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeShortLE(s: Int): BufByteWriter.this.type
Write 16 bits from
sin little-endian order.Write 16 bits from
sin little-endian order. The remaining 16 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeString(string: CharSequence, charset: Charset): BufByteWriter.this.type
Write the byte representation of
string, encoded using the specifiedCharsetinto the running buffer.Write the byte representation of
string, encoded using the specifiedCharsetinto the running buffer.- Definition Classes
- ByteWriter
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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()