1e41f4b71Sopenharmony_ci# drawing_memory_stream.h 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ci## Overview 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ciThe **drawing_memory_stream.h** file declares the functions related to the memory stream in the drawing module. 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci**File to include**: <native_drawing/drawing_memory_stream.h> 9e41f4b71Sopenharmony_ci 10e41f4b71Sopenharmony_ci**Library**: libnative_drawing.so 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci**Since**: 12 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci**Related module**: [Drawing](_drawing.md) 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci## Summary 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci### Functions 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ci| Name| Description| 23e41f4b71Sopenharmony_ci| -------- | -------- | 24e41f4b71Sopenharmony_ci| [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.| 25e41f4b71Sopenharmony_ci| 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