1# drawing_memory_stream.h
2
3
4## Overview
5
6The **drawing_memory_stream.h** file declares the functions related to the memory stream in the drawing module.
7
8**File to include**: <native_drawing/drawing_memory_stream.h>
9
10**Library**: libnative_drawing.so
11
12**Since**: 12
13
14**Related module**: [Drawing](_drawing.md)
15
16
17## Summary
18
19
20### Functions
21
22| Name| Description|
23| -------- | -------- |
24| [OH_Drawing_MemoryStream](_drawing.md#oh_drawing_memorystream) \* [OH_Drawing_MemoryStreamCreate](_drawing.md#oh_drawing_memorystreamcreate) (const void \*data, size_t length, bool copyData) | Creates an **OH_Drawing_MemoryStream** object.|
25| void [OH_Drawing_MemoryStreamDestroy](_drawing.md#oh_drawing_memorystreamdestroy) ([OH_Drawing_MemoryStream](_drawing.md#oh_drawing_memorystream) \*) | Destroys an **OH_Drawing_MemoryStream** object and reclaims the memory occupied by the object.|
26