MQTTastic-Client-KMP
Toggle table of contents
0.0.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
MQTTastic-Client-KMP
core
/
org.meshtastic.mqtt.packet
/
VariableByteInt
/
encode
encode
fun
encode
(
value
:
Int
)
:
ByteArray
Encode an integer as a Variable Byte Integer.
Throws
Illegal
Argument
Exception
if
value
exceeds
MAX_VALUE
or is negative.