Object/Class

org.bitcoins.core.protocol

CompactSizeUInt

Related Docs: class CompactSizeUInt | package protocol

Permalink

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. 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. def apply(num: UInt64): CompactSizeUInt

    Permalink
  5. def apply(num: UInt64, size: Int): CompactSizeUInt

    Permalink
  6. def apply(hex: String): CompactSizeUInt

    Permalink

    Creates a T from a hex string.

    Creates a T from a hex string.

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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  9. def calc(bytes: ByteVector): CompactSizeUInt

    Permalink
  10. def calculateCompactSizeUInt(hex: String): CompactSizeUInt

    Permalink

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

  11. def calculateCompactSizeUInt(bytes: ByteVector): CompactSizeUInt

    Permalink

    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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromBytes(bytes: ByteVector): CompactSizeUInt

    Permalink

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    CompactSizeUIntFactory
  17. def fromHex(hex: String): CompactSizeUInt

    Permalink

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. lazy val logger: Logger

    Permalink
    Definition Classes
    Factory
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def parse(bytes: ByteVector): CompactSizeUInt

    Permalink
  26. def parseCompactSizeUInt(script: ScriptSignature): CompactSizeUInt

    Permalink

    Parses the CompactSizeUInt from a ScriptSignature.

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

  27. def parseCompactSizeUInt(bytes: ByteVector): CompactSizeUInt

    Permalink

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

  28. def parseCompactSizeUInt(hex: String): CompactSizeUInt

    Permalink

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

  29. def parseCompactSizeUIntSize(byte: Byte): Long

    Permalink

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

  30. implicit def self: Factory[CompactSizeUInt]

    Permalink

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

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

    Definition Classes
    Factory
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. val zero: CompactSizeUInt

    Permalink

Inherited from Factory[CompactSizeUInt]

Inherited from AnyRef

Inherited from Any

Ungrouped