harmony 鸿蒙RawFileDescriptor

2025-06-12 浏览 (1)

RawFileDescriptor

Overview

Defines the file descriptor of a rawfile.

RawFileDescriptor is an output parameter of OH_ResourceManager_GetRawFileDescriptor(). It contains the file descriptor of a raw file and the start position and length of the raw file in the HAP.

Since: 8

Related module: [Rawfile] (rawfile.md)

Header file: raw_file.h

Summary

Member Variables

NameDescription
int fdFile descriptor of the rawfile, in int.
long startStart position of the rawfile in the HAP, in long.
long lengthLength of the rawfile in the HAP, in long.

Member Variable Description

fd

int RawFileDescriptor::fd

Description

File descriptor of the rawfile, in int.

length

long RawFileDescriptor::length

Description

Length of the rawfile in the HAP, in long.

start

long RawFileDescriptor::start

Description

Start position of the rawfile in the HAP, in long.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Localization Kit

harmony 鸿蒙RawFileDescriptor64

harmony 鸿蒙ResourceManager_Configuration

harmony 鸿蒙Font Management Error Codes

harmony 鸿蒙I18N Error Codes

harmony 鸿蒙Resource Manager Error Codes

harmony 鸿蒙@ohos.fontManager (Font Management)

harmony 鸿蒙@ohos.i18n (Internationalization) (System API)

harmony 鸿蒙@ohos.i18n (Internationalization)

harmony 鸿蒙@ohos.intl (Internationalization)

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