ENCSetUnicodeBOM

Syntax

#include <revolution/enc.h>

ENCResult ENCSetUnicodeBOM(u16* dst, s32 dstlen);

ENCResult ENCSetUnicodeBOM8(u8 *dst, s32 dstlen);

ENCResult ENCSetUnicodeBOM16(u16 *dst, s32 dstlen);

ENCResult ENCSetUnicodeBOM32(u32 *dst, s32 dstlen);

Arguments

dst Write destination buffer for BOM.
dstlen Size of the buffer to which data will be written. This is the size (buffer size/type size) of the type-conversion string in *dst.

Return Values

ENC_OK: Normal exit.
ENC_ERR_NO_BUF_LEFT: Write destination buffer size insufficient.

Description

This function writes the Unicode BOM to the buffer.

See Also

None.

Revision History

2008/07/16 Added a description of the buffer size.
2006/08/08 Initial version.


CONFIDENTIAL