pub unsafe extern "C" fn OH_ImageNative_GetBufferSize(
image: *mut OH_ImageNative,
componentType: u32,
size: *mut usize,
) -> Image_ErrorCodeExpand description
@brief Get size of buffer from an {@link OH_ImageNative} object by the component type.
@param image Indicates the pointer to an {@link OH_ImageNative} object. @param componentType Indicates the type of component. @param size Indicates the pointer to the size of buffer obtained. @return Returns {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful. returns {@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter. @since 12