harmony 鸿蒙Utils
Utils
Introduction
Utils provides OpenHarmony basic components, which provide enhanced C, C++, and JS APIs for OpenHarmony service subsystems and upper-layer applications. Utils provides the following components in /commonlibrary:
/commonlibrary
├── c_utils # c and c++ utils.
├── ets_utils # extended TypeScript (eTS) utils.
└── utils_lite # Utils in c and JS for LiteOS.
The following lists the functions provided by each utils.
c_utils
- Enhanced APIs for operations related to files, paths, and strings
- APIs for read/write locks, semaphores, timers, threads, and thread pools
- APIs for security data containers and data serialization
- Error codes for each subsystem
ets_utils
- JS APIs for URI, URL, and XML operations
- JS APIs for string encoding and decoding
- JS APIs for process-related operations
- Multithreading capability in JS
utils_lite
- Hardware Abstraction Layer (HAL) APIs for file operations
- APIs for internal functions, such as the timer
Related Documents
Repositories Involved
Utils
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦