I\'ve written the following code:
public class WriteToCharBuffer { public static void main(String[] args) { String text = \"This is the data to write in
readline() does not return the platforms line ending. JavaDoc.
readline()