Code example for ObjectOutputStream

Methods: writeChars

0
		stream_.writeBytes(s);
	} 
 
	public void writeChars(String s) throws IOException
	{ 
		stream_.writeChars(s);
	} 
 
	public void writeUTF(String str) throws IOException
	{ 
		stream_.writeUTF(str);
	} 
} 
Experience pair programming with AI  Get Codota for Java