Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

NS_IMETHOD nsIUnicodeEncoder::Finish ( char *  aDest,
PRInt32 *  aDestLength 
) [pure virtual, inherited]

Finishes the conversion. The converter has the possibility to write some extra data and flush its final state.

aDest [OUT] the destination data buffer
aDestLength [IN/OUT] the length of destination data buffer; after conversion it will contain the number of bytes written
NS_OK_UENC_MOREOUTPUT if only a partial conversion was done; more output space is needed to continue

Implemented in nsUnicodeToUTF8, nsUnicodeToUTF32BE, nsUnicodeToUTF32LE, and nsEncoderSupport.

Referenced by nsTestUConv::FinishEncode().

Generated by  Doxygen 1.6.0   Back to index