Kaluga
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kaluga
bluetooth-base
/
com.splendo.kaluga.bluetooth.serialization
/
ItemLengthPrefix
Item
Length
Prefix
@
SerialInfo
@
Target
(
allowedTargets
=
[
AnnotationTarget.PROPERTY
]
)
annotation class
ItemLengthPrefix
(
val
lengthAsShort
:
Boolean
=
false
,
val
canOverflow
:
Boolean
=
false
,
val
sentinel
:
Byte
=
0xFF.toByte()
)
Applies
LengthPrefix
to any Item in a List
Members
Properties
can
Overflow
Link copied to clipboard
val
canOverflow
:
Boolean
=
false
length
As
Short
Link copied to clipboard
val
lengthAsShort
:
Boolean
=
false
sentinel
Link copied to clipboard
val
sentinel
:
Byte