< prev index next >

src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStream.java

Print this page

        

*** 365,376 **** void writeChars(String s) throws IOException; /** * Writes two bytes of length information to the output stream in * network byte order, followed by the ! * <a href="../../../java/io/DataInput.html#modified-utf-8">modified ! * UTF-8</a> * representation of every character in the string {@code s}. * If {@code s} is {@code null}, a * {@code NullPointerException} is thrown. Each character in * the string {@code s} is converted to a group of one, two, * or three bytes, depending on the value of the character. --- 365,376 ---- void writeChars(String s) throws IOException; /** * Writes two bytes of length information to the output stream in * network byte order, followed by the ! * <a href="../../../../java.base/java/io/DataInput.html#modified-utf-8"> ! * modifiedUTF-8</a> * representation of every character in the string {@code s}. * If {@code s} is {@code null}, a * {@code NullPointerException} is thrown. Each character in * the string {@code s} is converted to a group of one, two, * or three bytes, depending on the value of the character.
< prev index next >