Optional
encodingThe text encoding. Defaults to encoding the reader was configured with.
Optional
initialThe initial buffer capacity for creating the string bytes. The buffer size duplicates itself when full, so the higher this value is set the less buffer grows happen but the more memory is wasted for reading small lines. Defaults to 1024.
Optional
maxThe maximum number of bytes (not characters!) to read. Default is unlimited.
Options for DataReader.readNullTerminatedString method.