Function

AgsAudioOscUtilslip_encode

since: 3.0.0

Declaration [src]

guchar*
ags_osc_util_slip_encode (
  guchar* osc_buffer,
  guint buffer_length,
  guint* returned_buffer_length
)

Description [src]

Encode osc_buffer to be suitable for network transmission. See SLIP (RFC1055).

Available since: 3.0.0

Parameters

osc_buffer

Type: guchar*

The OSC buffer.

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

Type: guint

The OSC buffer’s length.

returned_buffer_length

Type: guint*

The returned buffer’s length.

The data is owned by the caller of the function.

Return value

Type: guchar*

The encoded byte array.

The data is owned by the called function.