[][src]Function dart_sys::Dart_StringToLatin1

pub unsafe extern "C" fn Dart_StringToLatin1(
    str: Dart_Handle,
    latin1_array: *mut u8,
    length: *mut isize
) -> Dart_Handle

Gets the data corresponding to the string object. This function returns the data only for Latin-1 (ISO-8859-1) string objects. For all other string objects it returns an error.

\param str A string. \param latin1_array An array allocated by the caller, used to return the string data. \param length Used to pass in the length of the provided array. Used to return the length of the array which was actually used.

\return A valid handle if no error occurs during the operation.