sdes_get_entry


Description:

public bool sdes_get_entry (out SDESType type, out unowned uint8[] data)

Get the data of the current SDES item entry.

type (when not NULL) will contain the type of the entry. data (when not NULL) will point to data.length bytes.

When type refers to a text item, data will point to a UTF8 string. Note that this UTF8 string is NOT null-terminated. Use sdes_copy_entry to get a null-terminated copy of the entry.

Parameters:

this

a valid SDES Packet

type

result of the entry type

data

result entry data

len

result length of the entry data

Returns:

true if there was valid data.




2022 vala-language.org