nsIUnicharOutputStream

IID:2d00b1bb-8b21-4a63-bcc6-7213f513ac2e
Inherits From:nsISupports

An interface that allows writing unicode data.

This interface is implemented by the following components:


Methods

void close ( ) void flush ( ) PRBool write ( PRUint32 count , arrayof PRUnichar c ) PRBool writeString ( AString str )

void close ( )

Close the stream and free associated resources. This also closes the underlying stream.


void flush ( )

Flush the stream. This finishes the conversion and writes any bytes that finish the current byte sequence.

It does NOT flush the underlying stream.


PRBool write ( PRUint32 count , arrayof PRUnichar c )

Write a single character to the stream. When writing many characters, prefer the string-taking write method.

Arguments:
count
c

PRBool writeString ( AString str )

Write a string to the stream.

Arguments:
str

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com