[][src]Function dart_sys::Dart_StringGetProperties

pub unsafe extern "C" fn Dart_StringGetProperties(
    str: Dart_Handle,
    char_size: *mut isize,
    str_len: *mut isize,
    peer: *mut *mut c_void
) -> Dart_Handle

Retrieves some properties associated with a String. Properties retrieved are:

  • character size of the string (one or two byte)
  • length of the string
  • peer pointer of string if it is an external string. \param str A String. \param char_size Returns the character size of the String. \param str_len Returns the length of the String. \param peer Returns the peer pointer associated with the String or 0 if there is no peer pointer for it. \return Success if no error occurs. Otherwise returns an error handle.