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
Source
ByteString.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ByteStringBuilder
  2. Builder
  3. Growable
  4. Clearable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  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 +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ++=(xs: TraversableOnce[Byte]): ByteStringBuilder.this.type

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

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

    Definition Classes
    Growable
  8. def ->[B](y: B): (ByteStringBuilder, B)

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to ArrowAssoc[ByteStringBuilder] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  11. def append(bs: ByteString): ByteStringBuilder.this.type

    Java API: append a ByteString to this builder.

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. 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.

  14. def clear(): Unit

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def ensuring(cond: (ByteStringBuilder) ⇒ Boolean, msg: ⇒ Any): ByteStringBuilder

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to Ensuring[ByteStringBuilder] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (ByteStringBuilder) ⇒ Boolean): ByteStringBuilder

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to Ensuring[ByteStringBuilder] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): ByteStringBuilder

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to Ensuring[ByteStringBuilder] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): ByteStringBuilder

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to Ensuring[ByteStringBuilder] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  29. def length: Int

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

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

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

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

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

    Add a single Byte to this builder.

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

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

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

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

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

    Add a single Double to this builder.

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

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

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

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

    Add a single Float to this builder.

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

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

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

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

    Add a single Int to this builder.

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

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

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

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

    Add a single Long to this builder.

  47. def putLongPart(x: Long, n: Int)(implicit byteOrder: ByteOrder): ByteStringBuilder.this.type

    Add the n least significant bytes of the given Long to this builder.

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

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

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

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

    Add a single Short to this builder.

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

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

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

  53. def result(): ByteString

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

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

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

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

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

    Definition Classes
    AnyRef
  59. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. def [B](y: B): (ByteStringBuilder, B)

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to ArrowAssoc[ByteStringBuilder] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteStringBuilder: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteStringBuilder: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ByteStringBuilder

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to ArrowAssoc[ByteStringBuilder] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteStringBuilder: ArrowAssoc[ByteStringBuilder]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ByteStringBuilder

    Implicit information
    This member is added by an implicit conversion from ByteStringBuilder to Ensuring[ByteStringBuilder] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteStringBuilder: Ensuring[ByteStringBuilder]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Builder[Byte, ByteString]

Inherited from Growable[Byte]

Inherited from Clearable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ByteStringBuilder to StringAdd

Inherited by implicit conversion any2stringfmt from ByteStringBuilder to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ByteStringBuilder to ArrowAssoc[ByteStringBuilder]

Inherited by implicit conversion any2Ensuring from ByteStringBuilder to Ensuring[ByteStringBuilder]

Ungrouped