readLine and line terminators

llee llee at goucher.edu
Wed Jun 18 13:26:00 PDT 2008


I'm parsing a cgi request and was using the din.readLine function to get each line. readLine will read bytes from a stream until it encounters either '\n' or '\r'. I need it return lines terminated with "\n\r". Does anyone know how to do this. Or if there are any other options. 



More information about the Digitalmars-d mailing list