object TLV extends Factory[TLV] with TLVParentFactory[TLV]

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

Type Members

  1. case class DecodeTLVResult(tpe: BigSizeUInt, length: BigSizeUInt, value: ByteVector) extends Product with Serializable

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. val FALSE_BYTE: Byte
  5. val TRUE_BYTE: Byte
  6. lazy val allFactories: Vector[TLVFactory[TLV]]
    Definition Classes
    TLVTLVParentFactory
  7. def apply(hex: String): TLV

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  8. def apply(bytes: ByteVector): TLV

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def decodeTLV(bytes: ByteVector): DecodeTLVResult
  12. def encodeScript(script: Script): ByteVector
  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): TLV

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    TLVTLVParentFactoryFactory
  17. def fromBytesLE(bytes: ByteVector): TLV

    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[TLV]

    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[TLV]

    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): TLV

    Creates a T out of a hex string.

    Creates a T out of a hex string.

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

    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[TLV]

    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[TLV]

    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 getStringBytes(str: NormalizedString): ByteVector
  26. def getTypeName(tpe: BigSizeUInt): String
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. lazy val knownTypes: Vector[BigSizeUInt]
    Definition Classes
    TLVParentFactory
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. implicit def self: Factory[TLV]

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

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

    Definition Classes
    Factory
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. val typeName: String
    Definition Classes
    TLVTLVParentFactory
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from TLVParentFactory[TLV]

Inherited from Factory[TLV]

Inherited from AnyRef

Inherited from Any

Ungrouped