目录

Image_String

struct Image_String {...}
typedef struct Image_String Image_MimeType
typedef struct Image_String Image_String

Overview

String struct used to describe the address and length of string data. Image_MimeType is an alias of Image_String, used to represent MIME types.

When this struct is used as an input parameter, the caller is responsible for ensuring that data and size are valid. When it is used as an output parameter, the allocation and release of data are subject to the specific API description.

Since: 12

Related module: Image_NativeModule

Header file: image_common.h

Summary

[h2]Member Variables

Name Description
char *data = nullptr Pointer to the starting address of the string data.
size_t size = 0 Length of the string data.