ExtInv

class ExtInv(var type: InvTypes = InvTypes.ILLEGAL, var id: ByteArray = byteArrayOf()) : BCHserializable

Extended inventory object -- uses a variable sized byte array is the identifier rather than the constant 32 bytes of Inv

Constructors

Link copied to clipboard
constructor(buf: BCHserialized)
constructor(type: InvTypes = InvTypes.ILLEGAL, id: ByteArray = byteArrayOf())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun BCHdeserialize(stream: BCHserialized): BCHserialized
Link copied to clipboard
open override fun BCHserialize(format: SerializationType): BCHserialized
Link copied to clipboard
open fun toByteArray(format: SerializationType = SerializationType.UNKNOWN): ByteArray