# decodeConnectionless
function decodeConnectionless(data)Decode connectionless.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
src/miniquake2/protocol/packet.mlProvides miniquake2 protocol packet facilities for this project.
miniquake2/protocol/constants.ml as pc → src/miniquake2/protocol/constants.mlminiquake2/protocol/types.ml as pt → src/miniquake2/protocol/types.mlminiquake2/qcommon/byteio.ml as qbio → src/miniquake2/qcommon/byteio.mlfunction decodeConnectionless(data)Decode connectionless.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
function decodeConnectionlessText(data)Decode connectionless text.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
function decodeHeader(data, hasQport)Decode header.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
hasQport | dynamic | — | hasQport value consumed by this operation. |
function decodePacket(data, hasQport)Decode packet.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
hasQport | dynamic | — | hasQport value consumed by this operation. |
function encodeConnectionless(payload)Encode connectionless.
| Parameter | Type | Default | Description |
|---|---|---|---|
payload | dynamic | — | payload value consumed by this operation. |
function encodeConnectionlessText(text)Encode connectionless text.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text consumed by the operation. |
function encodeHeader(header, includeQport)Encode header.
| Parameter | Type | Default | Description |
|---|---|---|---|
header | dynamic | — | header value consumed by this operation. |
includeQport | dynamic | — | includeQport value consumed by this operation. |
function isConnectionless(data)Report whether is connectionless.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
function join(headerBytes, first, second)Join state.
| Parameter | Type | Default | Description |
|---|---|---|---|
headerBytes | dynamic | — | headerBytes value consumed by this operation. |
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
function validSequence(value)Report whether valid sequence.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |