readline from char[]
Jan Hanselaer
jan.hanselaer at gmail.com
Sun May 6 02:31:14 PDT 2007
Hi
Is it possible to read lines from a char[] buffer? I ask this because
reading lines directly from a file (with a BufferedStream) seems to be very
slow.
So when I can first load my file
char[] file = cast(char[])std.file.read("filename");
and then read lines from file that would go faster I presume.
But I don't see a way to do this.
Anyone with an idea for this problem?
Thanks in advance.
Jan
More information about the Digitalmars-d-learn
mailing list