trait BytesLike[T] extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- BytesLike
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def asArray(bytes: T): Array[Byte]
- abstract def asAsciiString(bytes: T): String
- abstract def asBuffer(bytes: T): ByteBuffer
- abstract def asHexString(bytes: T): String
- abstract def asString(bytes: T, charset: Charset): String
- abstract def asUtf8String(bytes: T): String
- abstract def ascii(s: String): T
- abstract def concat(left: T, right: T): T
- abstract def copyBuffer(buffer: ByteBuffer): T
- abstract def copyFromArray(bytes: Array[Byte], offset: Int, size: Int): T
- abstract def copyFromArray(bytes: Array[Byte]): T
- abstract def copyToArray(value: T, array: Array[Byte], sourceOffset: Int, targetOffset: Int, length: Int): Unit
- abstract def empty: T
- abstract def eq(l: T, r: T): Boolean
- abstract def get(bytes: T, i: Long): Byte
- abstract def indexOf(where: T, that: Byte, from: Long): Long
- abstract def indexOf(where: T, that: Byte): Long
- abstract def indexOfSlice(where: T, that: T): Long
- abstract def lastIndexOf(where: T, that: Byte): Long
- abstract def lastIndexOfSlice(where: T, that: T): Long
- abstract def length(bytes: T): Long
- abstract def mapI(bytes: T, f: (Byte, Long) ⇒ Byte): T
- abstract def slice(bytes: T, start: Long, end: Long): T
- abstract def utf8(s: String): T
- abstract def wrapArray(bytes: Array[Byte]): T
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
- def as[T2](that: T)(implicit arg0: BytesLike[T2]): T2
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()