Java examples for java.io:OutputStream
Writes a new line.
//package com.java2s; import java.io.IOException; import java.io.OutputStream; public class Main { /**/*from www . j ava2s .c om*/ * Writes a new line. * * @param os * The output stream. * @throws IOException */ public static void writeCRLF(OutputStream os) throws IOException { os.write(13); // CR os.write(10); // LF } }