Function

Valentpacket_get_payload_size

unstable since: 1.0

Declaration [src]

goffset
valent_packet_get_payload_size (
  JsonNode* packet
)

Description [src]

Get the payloadSize field of packet in bytes.

Available since: 1.0

Parameters

packet

Type: JsonNode

A KDE Connect packet.

The data is owned by the caller of the function.

Return value

Type: goffset

The payload size.