get_binary


Description:

[ Version ( since = "0.1.10" ) ]
public uint8 get_binary (KeyID key, out size_t size)

Returns the value associated with key from this.

If key has no value, or value is not a binary, or key is not in this, then 0 is returned.

Parameters:

this

set of related keys to inspect

key

key to use

size

location to store the buffer size

Returns:

buffer location associated with key, or null in other case. If successful size will be set to the buffer size.




2022 vala-language.org