Object

spire.util

Pack

Related Doc: package util

Permalink

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
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

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

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

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

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

    Permalink

    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]

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

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

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

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

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

    Permalink
  22. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink

    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]

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped