public ResponseMessageBodyWriter(Encoding encoding, Stream bodyStream) : base(true) { this.stream = bodyStream; this.encoding = encoding; }