Packages

trait BufByteWriter extends ByteWriter

A ByteWriter that results in an owned Buf

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufByteWriter
  2. ByteWriter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

  2. 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
  3. abstract def writeBytes(buf: Buf): BufByteWriter.this.type

    Write all the bytes from buf into the running buffer.

    Write all the bytes from buf into the running buffer.

    Definition Classes
    ByteWriter
  4. abstract def writeBytes(bs: Array[Byte]): BufByteWriter.this.type

    Write all the bytes from bs into the running buffer.

    Write all the bytes from bs into the running buffer.

    Definition Classes
    ByteWriter
  5. abstract def writeDoubleBE(d: Double): BufByteWriter.this.type

    Write 64 bits from d in big-endian order.

    Write 64 bits from d in big-endian order.

    Definition Classes
    ByteWriter
  6. abstract def writeDoubleLE(d: Double): BufByteWriter.this.type

    Write 64 bits from d in little-endian order.

    Write 64 bits from d in little-endian order.

    Definition Classes
    ByteWriter
  7. abstract def writeFloatBE(f: Float): BufByteWriter.this.type

    Write 32 bits from f in big-endian order.

    Write 32 bits from f in big-endian order.

    Definition Classes
    ByteWriter
  8. abstract def writeFloatLE(f: Float): BufByteWriter.this.type

    Write 32 bits from f in little-endian order.

    Write 32 bits from f in little-endian order.

    Definition Classes
    ByteWriter
  9. abstract def writeIntBE(i: Long): BufByteWriter.this.type

    Write 32 bits from i in big-endian order.

    Write 32 bits from i in big-endian order.

    Definition Classes
    ByteWriter
  10. abstract def writeIntLE(i: Long): BufByteWriter.this.type

    Write 32 bits from i in little-endian order.

    Write 32 bits from i in little-endian order.

    Definition Classes
    ByteWriter
  11. abstract def writeLongBE(l: Long): BufByteWriter.this.type

    Write 64 bits from l in big-endian order.

    Write 64 bits from l in big-endian order.

    Definition Classes
    ByteWriter
  12. abstract def writeLongLE(l: Long): BufByteWriter.this.type

    Write 64 bits from l in little-endian order.

    Write 64 bits from l in little-endian order.

    Definition Classes
    ByteWriter
  13. abstract def writeMediumBE(m: Int): BufByteWriter.this.type

    Write 24 bits from m in big-endian order.

    Write 24 bits from m in big-endian order. The remaining 8 bits are ignored.

    Definition Classes
    ByteWriter
  14. abstract def writeMediumLE(m: Int): BufByteWriter.this.type

    Write 24 bits from m in little-endian order.

    Write 24 bits from m in little-endian order. The remaining 8 bits are ignored.

    Definition Classes
    ByteWriter
  15. abstract def writeShortBE(s: Int): BufByteWriter.this.type

    Write 16 bits from s in big-endian order.

    Write 16 bits from s in big-endian order. The remaining 16 bits are ignored.

    Definition Classes
    ByteWriter
  16. abstract def writeShortLE(s: Int): BufByteWriter.this.type

    Write 16 bits from s in little-endian order.

    Write 16 bits from s in little-endian order. The remaining 16 bits are ignored.

    Definition Classes
    ByteWriter
  17. abstract def writeString(string: CharSequence, charset: Charset): BufByteWriter.this.type

    Write the byte representation of string, encoded using the specified Charset into the running buffer.

    Write the byte representation of string, encoded using the specified Charset into the running buffer.

    Definition Classes
    ByteWriter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ByteWriter

Inherited from AnyRef

Inherited from Any

Ungrouped