akka.util

ByteStringBuilder

final class ByteStringBuilder extends Builder[Byte, ByteString]

A mutable builder for efficiently creating a akka.util.ByteString.

The created ByteString is not automatically compacted.

Self Type
ByteStringBuilder
Linear Supertypes
Builder[Byte, ByteString], Growable[Byte], Clearable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ByteStringBuilder
  2. Builder
  3. Growable
  4. Clearable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteStringBuilder()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++=(xs: TraversableOnce[Byte]): ByteStringBuilder.this.type

    Definition Classes
    ByteStringBuilder → Growable
  5. def +=(elem: Byte): ByteStringBuilder.this.type

    Definition Classes
    ByteStringBuilder → Builder → Growable
  6. def +=(elem1: Byte, elem2: Byte, elems: Byte*): ByteStringBuilder.this.type

    Definition Classes
    Growable
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def asOutputStream: OutputStream

    Directly wraps this ByteStringBuilder in an OutputStream.

    Directly wraps this ByteStringBuilder in an OutputStream. Write operations on the stream are forwarded to the builder.

  11. def clear(): Unit

    Definition Classes
    ByteStringBuilder → Builder → Growable → Clearable
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def fillArray(len: Int)(fill: (Array[Byte], Int) ⇒ Unit): ByteStringBuilder.this.type

    Attributes
    protected
  16. final def fillByteBuffer(len: Int, byteOrder: ByteOrder)(fill: (ByteBuffer) ⇒ Unit): ByteStringBuilder.this.type

    Attributes
    protected
    Annotations
    @inline()
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def length: Int

  22. def mapResult[NewTo](f: (ByteString) ⇒ NewTo): Builder[Byte, NewTo]

    Definition Classes
    Builder
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def putByte(x: Byte): ByteStringBuilder.this.type

    Add a single Byte to this builder.

  27. def putBytes(array: Array[Byte], start: Int, len: Int): ByteStringBuilder.this.type

    Add a number of Bytes from an array to this builder.

  28. def putBytes(array: Array[Byte]): ByteStringBuilder.this.type

    Add a number of Bytes from an array to this builder.

  29. def putDouble(x: Double)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a single Double to this builder.

  30. def putDoubles(array: Array[Double], start: Int, len: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Doubles from an array to this builder.

  31. def putDoubles(array: Array[Double])(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Doubles from an array to this builder.

  32. def putFloat(x: Float)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a single Float to this builder.

  33. def putFloats(array: Array[Float], start: Int, len: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Floats from an array to this builder.

  34. def putFloats(array: Array[Float])(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Floats from an array to this builder.

  35. def putInt(x: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a single Int to this builder.

  36. def putInts(array: Array[Int], start: Int, len: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Ints from an array to this builder.

  37. def putInts(array: Array[Int])(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Ints from an array to this builder.

  38. def putLong(x: Long)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a single Long to this builder.

  39. def putLongs(array: Array[Long], start: Int, len: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Longs from an array to this builder.

  40. def putLongs(array: Array[Long])(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Longs from an array to this builder.

  41. def putShort(x: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a single Short to this builder.

  42. def putShorts(array: Array[Short], start: Int, len: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Shorts from an array to this builder.

  43. def putShorts(array: Array[Short])(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add a number of Shorts from an array to this builder.

  44. def result(): ByteString

    Definition Classes
    ByteStringBuilder → Builder
  45. def sizeHint(len: Int): Unit

    Definition Classes
    ByteStringBuilder → Builder
  46. def sizeHint(coll: TraversableLike[_, _], delta: Int): Unit

    Definition Classes
    Builder
  47. def sizeHint(coll: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  48. def sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Builder[Byte, ByteString]

Inherited from Growable[Byte]

Inherited from Clearable

Inherited from AnyRef

Inherited from Any

Ungrouped