object ByteUtil
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ByteUtil
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 addString(string: String, bytes: Slice[Byte], charsets: Charset): Slice[Byte]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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()
- def readInt(bytes: Slice[Byte]): Int
- def readInt(reader: Reader): Try[Int]
- def readLastUnsignedInt(slice: Slice[Byte]): Try[Int]
- def readLong(reader: Reader): Try[Long]
- def readLong(bytes: Slice[Byte]): Long
- def readSignedInt(slice: Slice[Byte]): Try[Int]
- def readSignedInt(reader: Reader): Try[Int]
- def readSignedLong(slice: Slice[Byte]): Try[Long]
- def readSignedLong(reader: Reader): Try[Long]
- def readString(slice: Slice[Byte], charset: Charset): String
- def readString(size: Int, reader: Reader, charset: Charset): Try[String]
- def readString(reader: Reader, charset: Charset): Try[String]
- def readUnsignedInt(slice: Slice[Byte]): Try[Int]
- def readUnsignedInt(reader: Reader): Try[Int]
- def readUnsignedLong(slice: Slice[Byte]): Try[Long]
- def readUnsignedLong(reader: Reader): Try[Long]
-
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
- @native() @throws( ... )
- def writeInt(int: Int, slice: Slice[Byte]): Unit
- def writeLong(long: Long, slice: Slice[Byte]): Unit
-
def
writeSignedInt(x: Int, slice: Slice[Byte]): Unit
************************************************** Credit - https://github.com/larroy/varint-scala
************************************************** Credit - https://github.com/larroy/varint-scala
Duplicate functions here. This code is crucial for read performance and the most frequently used. Creating reader on each read will be expensive therefore the functions are repeated for slice and reader.
Need to re-evaluate this code and see if abstract functions can be used. ***********************************************
- def writeSignedLong(long: Long, slice: Slice[Byte]): Unit
- def writeUnsignedInt(int: Int, slice: Slice[Byte]): Unit
- def writeUnsignedIntReversed(int: Int): Slice[Byte]
- def writeUnsignedLong(long: Long, slice: Slice[Byte]): Unit