pub unsafe extern "C" fn FREGetObjectAsUTF8(
object: FREObject,
length: *mut u32,
value: *mut FREStr,
) -> FREResultExpand description
Retrieves a string representation of the object referred to by the given object. The referenced string is immutable and valid only for duration of the call to a registered function. If the caller wishes to keep the string, they must keep a copy of it.
ยงParameters
object: The string to be retrieved.length: The size, in bytes, of the string. Includes the NUL terminator.
ยง๐ก๐
IT DOES NOT INCLUDE THE NUL TERMINATOR IN PRACTICE (AIR-SDK-51.1.3.1).
value: A pointer to a possibly temporary copy of the string.