Function yrs::youtput_read_binary[][src]

#[no_mangle]
pub unsafe extern "C" fn youtput_read_binary(
    val: *const YOutput
) -> *const c_uchar
Expand description

Attempts to read the value for a given YOutput pointer as a binary payload (which length is stored within len filed of a cell itself).

Returns a null pointer in case when a value stored under current YOutput cell is not a binary type. Underlying binary is released automatically as part of youtput_destroy destructor.