Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

ConvertUTF

DEPRECATED. Converts the UTF16BE or UTF16LE format to UTF8 and vice versa.

Syntax

IppStatus ippsConvertUTF_8u16u(const Ipp8u*
pSrc
, Ipp32u*
pSrcLen
, Ipp16u*
pDst
, Ipp32u*
pDstLen
, int
BEFlag
);
IppStatus ippsConvertUTF_16u8u(const Ipp16u*
pSrc
, Ipp32u*
pSrcLen
, Ipp8u*
pDst
, Ipp32u*
pDstLen
, int
BEFlag
);
Include Files
ippch.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
pSrc
Pointer to the source vector.
pSrcLen
Length of the
pSrc
vector on input; its used length on output.
pDst
Pointer to the destination vector.
pDstLen
Length of the
pDst
vector on input; its used length on output.
BEFlag
Flag to indicate the UTF16BE format. 0 means the UTF16LE format.
Description
This function is deprecated and will be removed in a future release. If you have concerns, open a ticket and provide feedback at https://supporttickets.intel.com/.
The function flavor
ippsConvertUTF_8u16u
converts the UTF8 format to the UTF16LE or UTF16BE format. The function flavor
ippsConvertUTF_16u8u
converts UTF16LE or UTF16BE format to the UTF8 format.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error condition if one of the specified pointers is
NULL
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.