Function

Valentpacket_set_payload_size

unstable since: 1.0

Declaration [src]

void
valent_packet_set_payload_size (
  JsonNode* packet,
  goffset size
)

Description [src]

Set the payloadSize field of packet to size.

Available since: 1.0

Parameters

packet

Type: JsonNode

A KDE Connect packet.

The data is owned by the caller of the function.
size

Type: goffset

The payload size in bytes.