IsValidResource

nn::font::ArchiveFontBase::IsValidResource Member Function

Syntax

protected:
static bool IsValidResource(
     const void * brfnt,
     u32 dataSize
);

Parameters

Name Description
in brfnt A pointer to the binary data to check.
in dataSize The data size passed in by brfnt.

Return Values

Returns true if brfnt is a compressed font resource that contains a complete GLGR block; otherwise, returns false.

Description

Determines whether the given binary data contains a compressed font resource up to the GLGR block.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL