/// <summary> /// Construct a new instance from a memory stream, specifying the deafult encoding /// </summary> public BinReader(MemoryStream ms, Encoding string_enc) : base(ms) { StrReader = new PLStringReader(this, string_enc); }
/// <summary> /// Construct a new instance from a filename, specifying the default encoding /// </summary> public BinReader(string filename, Encoding string_enc) : base(File.OpenRead(filename)) { StrReader = new PLStringReader(this, string_enc); }
/// <summary> /// Construct a new instance from a memory stream /// </summary> public BinReader(MemoryStream ms) : base(ms) { StrReader = new PLStringReader(this); }
/// <summary> /// Construct a new instance from a filename /// </summary> public BinReader(string filename) : base(File.OpenRead(filename)) { StrReader = new PLStringReader(this); }