public static TranslationDatabase From(string content, Leayal.SoulWorker.ResourceFile.DataFormat format)
 {
     using (StreamReader sr = new StreamReader(content))
         return(TranslationDatabase.From(sr, format));
 }
 public TranslationDatabase(System.IO.TextReader textReader, Leayal.SoulWorker.ResourceFile.DataFormat format)
 {
     this.Capacity   = format.Format.Length;
     this.readformat = format;
     this.ReadContent(textReader);
 }
 public static TranslationDatabase From(TextReader textReader, Leayal.SoulWorker.ResourceFile.DataFormat format)
 {
     return(new TranslationDatabase(textReader, format));
 }