Microsoft SDK for Java

IDataStream.writeStringNullAnsi

Writes a null-terminated ANSI string to this stream.

Syntax

public void writeStringNullAnsi( String value )

Parameters

value

The string value to write.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support writing.

Remarks

The specified string is converted to a sequence of bytes using the system's default code page. Those bytes are then written to the stream followed by a null byte.

See Also   readStringNullAnsi

© 1999 Microsoft Corporation. All rights reserved. Terms of use.