载入中...
搜索中...
未找到
eve::asset::EvpackRangeMount类 参考

Admitted metadata plus an immutable range source retained by shared ownership. 更多...

#include <EvpackRange.h>

Public 成员函数

const Evpack & index () const noexcept
 Verified package metadata and random-access TOC.
 
Result< std::vector< std::uint8_t > > readChunk (std::size_t index) const
 Fetch, size-check and hash-verify one complete independently streamable chunk.
 

友元

EVENGINE_API_FOUNDATION Result< EvpackRangeMount > prepareEvpackRangeMount (std::shared_ptr< const EvpackRangeSource >, const EvpackLimits &, const EvpackTrust &)
 Read only header/manifest/TOC and prepare on-demand range loading.
 

详细描述

Admitted metadata plus an immutable range source retained by shared ownership.

备注
Every returned chunk is owning and SHA-256 verified before exposure.

在文件 EvpackRange.h 第 53 行定义.

成员函数说明

◆ index()

const Evpack & eve::asset::EvpackRangeMount::index ( ) const
inlinenoexcept

Verified package metadata and random-access TOC.

在文件 EvpackRange.h 第 56 行定义.

被这些函数引用 readChunk().

◆ readChunk()

Result< std::vector< std::uint8_t > > eve::asset::EvpackRangeMount::readChunk ( std::size_t  index) const

友元及相关函数文档

◆ prepareEvpackRangeMount

EVENGINE_API_FOUNDATION Result< EvpackRangeMount > prepareEvpackRangeMount ( std::shared_ptr< const EvpackRangeSource >  ,
const EvpackLimits &  ,
const EvpackTrust &   
)
friend

Read only header/manifest/TOC and prepare on-demand range loading.

参数
sourceImmutable source retained for the mount lifetime.
limitsMetadata and chunk budgets.
返回
Prepared range mount; no chunk payload has been fetched yet.

在文件 EvpackRange.cpp 第 65 行定义.


该类的文档由以下文件生成: