87ac051e创建于 2025年10月29日历史提交

OH_NativeBuffer

Overview

This module provides the capabilities of NativeBuffer. Using the functions provided by this module, you can apply for, use, and release the shared memory, and query its properties.

Since: 9

Files

Name Description
buffer_common.h Declares the common types used in the NativeBuffer module.
Since API version 12, certain type definitions have been relocated from native_buffer.h to this header file for a more cohesive presentation. These types were available prior to API version 12 and can be used seamlessly across all versions.
File to include: <native_buffer/buffer_common.h>
native_buffer.h This file declares the functions for obtaining and using NativeBuffer.
File to include: <native_buffer/native_buffer.h>