/// <summary> /// Reads zero terminated sequence of bytes of given maximal length and converts it into an ASCII string. /// </summary> public string ReadAscii(int maxByteCount) { int current = _position; string result = _block.ReadAscii(current, maxByteCount); _position = current + result.Length + 1; // terminating \0 return(result); }