pub unsafe extern "C" fn OH_ArkUI_UnmarshallStyledStringDescriptor(
buffer: *mut u8,
bufferSize: usize,
descriptor: *mut ArkUI_StyledString_Descriptor,
) -> i32Available on crate features
api-12 and api-14 only.Expand description
Deserializes a byte array containing styled string information into a styled string.
§Arguments
-
buffer- Byte array to be deserialized. -
bufferSize- Length of the byte array. -
descriptor- Pointer to an ArkUI_StyledString_Descriptor object.
§Returns
- Returns the result code.
Returns [
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.
Available since API-level: 14