drawing_memory_stream.h

Overview

The drawing_memory_stream.h file declares the functions related to the memory stream in the drawing module.

File to include: <native_drawing/drawing_memory_stream.h>

Library: libnative_drawing.so

Since: 12

Related module: Drawing

Summary

Functions

Name Description
OH_Drawing_MemoryStream * OH_Drawing_MemoryStreamCreate (const void *data, size_t length, bool copyData) Creates an OH_Drawing_MemoryStream object.
void OH_Drawing_MemoryStreamDestroy (OH_Drawing_MemoryStream *) Destroys an OH_Drawing_MemoryStream object and reclaims the memory occupied by the object.