OptionalencodingThe text encoding. Defaults to encoding the reader was configured with.
OptionalinitialThe 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.
OptionalmaxThe maximum number of bytes (not characters!) to read. Default is unlimited.
Options for DataReader.readNullTerminatedString method.