spire.util

Pack

object Pack

These methods are all big-endian.

That is, bytes[0] is the most-significant byte.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Pack
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def bytesFromByteBuffer(bb: ByteBuffer, n: Int): Array[Byte]

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @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
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. def intFromByteBuffer(bb: ByteBuffer): Int

  13. def intFromBytes(b1: Byte, b2: Byte, b3: Byte, b4: Byte): Int

  14. def intFromBytes(bytes: Array[Byte]): Int

  15. macro def intToByte(n: Int)(index: Int): Byte

    index must be 0 <= index < 4

  16. def intToByteMacro(c: Context)(n: scala.reflect.macros.whitebox.Context.Expr[Int])(index: scala.reflect.macros.whitebox.Context.Expr[Int]): scala.reflect.macros.whitebox.Context.Expr[Byte]

  17. def intToByteRuntime(n: Int)(index: Int): Byte

  18. def intToBytes(n: Int): Array[Byte]

  19. def intsFromByteBuffer(bb: ByteBuffer, n: Int): Array[Int]

  20. def intsFromBytes(bytes: Array[Byte], n: Int): Array[Int]

  21. def intsToBytes(ints: Array[Int]): Array[Byte]

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def longFromByteBuffer(bb: ByteBuffer): Long

  24. def longFromBytes(b1: Byte, b2: Byte, b3: Byte, b4: Byte, b5: Byte, b6: Byte, b7: Byte, b8: Byte): Long

  25. def longFromBytes(bytes: Array[Byte]): Long

  26. macro def longToByte(n: Long)(index: Int): Byte

    index must be 0 <= index < 8

  27. def longToByteMacro(c: Context)(n: scala.reflect.macros.whitebox.Context.Expr[Long])(index: scala.reflect.macros.whitebox.Context.Expr[Int]): scala.reflect.macros.whitebox.Context.Expr[Byte]

  28. def longToByteRuntime(n: Long)(index: Int): Byte

  29. def longToBytes(n: Long): Array[Byte]

  30. def longsFromByteBuffer(bb: ByteBuffer, n: Int): Array[Long]

  31. def longsFromBytes(bytes: Array[Byte], n: Int): Array[Long]

  32. def longsToBytes(longs: Array[Long]): Array[Byte]

  33. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped