Packages

object CompactSizeUInt extends Factory[CompactSizeUInt]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompactSizeUInt
  2. Factory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 apply(num: UInt64): CompactSizeUInt
  5. def apply(num: UInt64, size: Int): CompactSizeUInt
  6. def apply(hex: String): CompactSizeUInt

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  7. def apply(bytes: ByteVector): CompactSizeUInt

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def calc(bytes: ByteVector): CompactSizeUInt
  10. def calculateCompactSizeUInt(hex: String): CompactSizeUInt

    Responsible for calculating what the CompactSizeUInt is for this hex string.

  11. def calculateCompactSizeUInt(bytes: ByteVector): CompactSizeUInt

    This function is responsible for calculating what the compact size unsigned integer is for a sequence of bytes https://bitcoin.org/en/developer-reference#compactsize-unsigned-integers.

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def fromBytes(bytes: ByteVector): CompactSizeUInt

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    CompactSizeUIntFactory
  17. def fromBytesLE(bytes: ByteVector): CompactSizeUInt

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  18. def fromBytesOpt(bytes: ByteVector): Option[CompactSizeUInt]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  19. def fromBytesT(bytes: ByteVector): Try[CompactSizeUInt]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  20. def fromHex(hex: String): CompactSizeUInt

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  21. def fromHexLE(hex: String): CompactSizeUInt

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  22. def fromHexOpt(hex: String): Option[CompactSizeUInt]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  23. def fromHexT(hex: String): Try[CompactSizeUInt]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. lazy val one: CompactSizeUInt
  31. def parse(bytes: ByteVector): CompactSizeUInt
  32. def parseCompactSizeUInt(script: ScriptSignature): CompactSizeUInt

    Parses the CompactSizeUInt from a ScriptSignature.

    Parses the CompactSizeUInt from a ScriptSignature. https://bitcoin.org/en/developer-reference#compactsize-unsigned-integers.

  33. def parseCompactSizeUInt(bytes: ByteVector): CompactSizeUInt

    Parses a CompactSizeUInt from a sequence of bytes https://bitcoin.org/en/developer-reference#compactsize-unsigned-integers

  34. def parseCompactSizeUInt(hex: String): CompactSizeUInt

    Parses a VarInt from a string of hex characters https://bitcoin.org/en/developer-reference#compactsize-unsigned-integers

  35. def parseCompactSizeUIntSize(byte: Byte): Long

    Returns the size of a VarInt in the number of bytes https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer.

  36. implicit def self: Factory[CompactSizeUInt]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. val zero: CompactSizeUInt

Inherited from Factory[CompactSizeUInt]

Inherited from AnyRef

Inherited from Any

Ungrouped