harmony 鸿蒙raw_file.h

2023-06-24 浏览 (894)

raw_file.h

Overview

Provides functions for operating rawfiles.

These functions include searching, reading, and closing rawfiles.

Since: 8

Related Modules:

Rawfile

Summary

Structs

NameDescription
RawFileDescriptorProvides rawfile descriptor information.

Types

NameDescription
RawFileProvides the function of accessing rawfiles.

Functions

NameDescription
OH_ResourceManager_ReadRawFile (const RawFile *rawFile, void *buf, size_t length)Reads a rawfile.
OH_ResourceManager_SeekRawFile (const RawFile *rawFile, long offset, int whence)Seeks for the data read/write position in the rawfile based on the specified offset.
OH_ResourceManager_GetRawFileSize (RawFile *rawFile)Obtains the length of a rawfile in int32_t.
OH_ResourceManager_CloseRawFile (RawFile *rawFile)Closes an opened RawFile and releases all associated resources.
OH_ResourceManager_GetRawFileOffset (const RawFile *rawFile)Obtains the current offset of the rawfile in int32_t.
OH_ResourceManager_GetRawFileDescriptor (const RawFile *rawFile, RawFileDescriptor &descriptor)Opens a rawfile descriptor.
OH_ResourceManager_ReleaseRawFileDescriptor (const RawFileDescriptor &descriptor)Closes a rawfile descriptor.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/56fa03b3c3374a9faf8ce682790217b9