toggle menu
libnexakotlin
0.3.5
common
switch theme
search in API
libnexakotlin
/
org.nexa.libnexakotlin
/
CapdQuery
Capd
Query
class
CapdQuery
(
var
cookie
:
Long
,
var
type
:
Int
,
var
start
:
Long
,
var
quantity
:
Long
,
var
content
:
ByteArray
)
:
BCHserializable
A CAPD message (see https://spec.nexa.org/network/capd/)
Members
Constructors
Capd
Query
Link copied to clipboard
constructor
(
cookie
:
Long
,
type
:
Int
,
start
:
Long
,
quantity
:
Long
,
content
:
ByteArray
)
Properties
content
Link copied to clipboard
var
content
:
ByteArray
cookie
Link copied to clipboard
var
cookie
:
Long
quantity
Link copied to clipboard
var
quantity
:
Long
start
Link copied to clipboard
var
start
:
Long
type
Link copied to clipboard
var
type
:
Int
Reply Cookie
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
fun
toByteArray
(
)
:
ByteArray
to
UByte
Array
Link copied to clipboard
fun
toUByteArray
(
)
:
UByteArray