toggle menu
libnexakotlin
0.3.5
common
switch theme
search in API
libnexakotlin
/
org.nexa.libnexakotlin
/
Inv
Inv
class
Inv
(
var
type
:
InvTypes
=
InvTypes.ILLEGAL
,
var
id
:
Hash256
=
Hash256.ZERO
)
:
BCHserializable
Members
Constructors
Inv
Link copied to clipboard
constructor
(
buf
:
BCHserialized
)
constructor
(
type
:
InvTypes
=
InvTypes.ILLEGAL
,
id
:
Hash256
=
Hash256.ZERO
)
Properties
id
Link copied to clipboard
var
id
:
Hash256
type
Link copied to clipboard
var
type
:
InvTypes
Functions
BCHdeserialize
Link copied to clipboard
open
override
fun
BCHdeserialize
(
stream
:
BCHserialized
)
:
BCHserialized
BCHserialize
Link copied to clipboard
open
override
fun
BCHserialize
(
format
:
SerializationType
)
:
BCHserialized
to
Byte
Array
Link copied to clipboard
open
fun
toByteArray
(
format
:
SerializationType
=
SerializationType.UNKNOWN
)
:
ByteArray