public RubyIO(RubyContext/*!*/ context) { _context = context; _fileDescriptor = context.AddDescriptor(this); _disposed = false; _closed = false; _peekAhead = -1; _stream = Stream.Null; // TODO: enable setting _externalEncoding = BinaryEncoding.Instance; _internalEncoding = null; }
public RubyIO(RubyContext /*!*/ context) : this() { ContractUtils.RequiresNotNull(context, "context"); _fileDescriptor = context.AddDescriptor(this); }
public RubyIO(RubyContext/*!*/ context) : this() { ContractUtils.RequiresNotNull(context, "context"); _fileDescriptor = context.AddDescriptor(this); }