ENCGetNextCharacterWidth

Syntax

#include <revolution/enc.h>

ENCResult ENCGetNextCharacterWidth(const ENCContext* context, const u8* src, u32* width);

Arguments

context Character code conversion context.
src The source string buffer.
width Character width for skipping the next character.

Return Values

ENC_OK: Normal exit.
ENC_ERR_INVALID_PARAM: Invalid argument.
ENC_ERR_UNKNOWN_ENCODING: Unknown character encoding.

Description

Acquires the byte count of the next character to skip a non-convertible charater.

See Also

None.

Revision History

2006/10/19 Initial version.


CONFIDENTIAL