Packages

trait BytesLike[T] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BytesLike
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def asArray(bytes: T): Array[Byte]
  2. abstract def asAsciiString(bytes: T): String
  3. abstract def asBuffer(bytes: T): ByteBuffer
  4. abstract def asString(bytes: T, charset: Charset): String
  5. abstract def asUtf8String(bytes: T): String
  6. abstract def ascii(s: String): T
  7. abstract def concat(left: T, right: T): T
  8. abstract def copyBuffer(buffer: ByteBuffer): T
  9. abstract def copyFromArray(bytes: Array[Byte], offset: Int, size: Int): T
  10. abstract def copyFromArray(bytes: Array[Byte]): T
  11. abstract def copyToArray(value: T, array: Array[Byte], sourceOffset: Int, targetOffset: Int, length: Int): Unit
  12. abstract def empty: T
  13. abstract def eq(l: T, r: T): Boolean
  14. abstract def foreach(bytes: T, f: (Byte) ⇒ Unit): Unit
  15. abstract def get(bytes: T, i: Long): Byte
  16. abstract def indexOf(where: T, that: Byte, from: Long): Long
  17. abstract def indexOf(where: T, that: Byte): Long
  18. abstract def indexOfSlice(where: T, that: T): Long
  19. abstract def lastIndexOf(where: T, that: Byte): Long
  20. abstract def lastIndexOfSlice(where: T, that: T): Long
  21. abstract def length(bytes: T): Long
  22. abstract def mapWithIndex(bytes: T, f: (Byte, Long) ⇒ Byte): T
  23. abstract def slice(bytes: T, start: Long, end: Long): T
  24. abstract def utf8(s: String): T
  25. abstract def wrapArray(bytes: Array[Byte]): T

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. def as[T2](that: T)(implicit arg0: BytesLike[T2]): T2
  5. def asHexString(bytes: T): String
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped