Packages

o

swaydb.data.util

ByteUtil

object ByteUtil

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

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 addString(string: String, bytes: Slice[Byte], charsets: Charset): Slice[Byte]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def readInt(bytes: Slice[Byte]): Int
  17. def readInt(reader: Reader): Try[Int]
  18. def readLastUnsignedInt(slice: Slice[Byte]): Try[Int]
  19. def readLong(reader: Reader): Try[Long]
  20. def readLong(bytes: Slice[Byte]): Long
  21. def readSignedInt(slice: Slice[Byte]): Try[Int]
  22. def readSignedInt(reader: Reader): Try[Int]
  23. def readSignedLong(slice: Slice[Byte]): Try[Long]
  24. def readSignedLong(reader: Reader): Try[Long]
  25. def readString(slice: Slice[Byte], charset: Charset): String
  26. def readString(size: Int, reader: Reader, charset: Charset): Try[String]
  27. def readString(reader: Reader, charset: Charset): Try[String]
  28. def readUnsignedInt(slice: Slice[Byte]): Try[Int]
  29. def readUnsignedInt(reader: Reader): Try[Int]
  30. def readUnsignedLong(slice: Slice[Byte]): Try[Long]
  31. def readUnsignedLong(reader: Reader): Try[Long]
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  37. def writeInt(int: Int, slice: Slice[Byte]): Unit
  38. def writeLong(long: Long, slice: Slice[Byte]): Unit
  39. 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. ***********************************************

  40. def writeSignedLong(long: Long, slice: Slice[Byte]): Unit
  41. def writeUnsignedInt(int: Int, slice: Slice[Byte]): Unit
  42. def writeUnsignedIntReversed(int: Int): Slice[Byte]
  43. def writeUnsignedLong(long: Long, slice: Slice[Byte]): Unit

Inherited from AnyRef

Inherited from Any

Ungrouped