/// <summary>Reads a whole table from the specified dat file.</summary> /// <param name="table">Table to read the dat file into.</param> /// <param name="stream">The stream.</param> public static void ReadTable(ITable table, Stream stream) { using (var reader = new DatReader(stream)) { reader.ReadTable(table); } }
/// <summary>Reads a whole table from the specified dat file.</summary> /// <param name="table">Table to read the dat file into.</param> /// <param name="fileName">File name of the dat file.</param> public static void ReadTable(ITable table, string fileName) { using (var reader = new DatReader(fileName)) { reader.ReadTable(table); } }