/// <summary>
 ///     Creates a ust from (absolute or relative) path given.
 ///     Note: Emperically, we found 8kb to be as good as whole file.
 /// </summary>
 /// <param name="fPath"></param>
 public USTFile(string fPath) //
     : this(ByLineFileIO
            .ReadFileNoWhitespace(fPath, zuio.GetEncUde(fPath, 8192, Encoding.GetEncoding("Shift_JIS"))).ToArray())
 {
 }
Ejemplo n.º 2
0
 public PrefixMap(string fPath) : this(ByLineFileIO.ReadFileNoWhitespace(fPath, zuio.GetEncUde(fPath)).ToArray())
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a ust from (absolute or relative) path given.
 /// </summary>
 /// <param name="fPath"></param>
 public USTFile(string fPath) // For UDE, we found 8kb to be as good as whole file emperically.
     : this(ByLineFileIO.ReadFileNoWhitespace(fPath, zuio.GetEncUde(fPath, 8192, Encoding.GetEncoding("Shift_JIS"))).ToArray())
 {
 }