public MimeHeaders ReadHeaders(int maxBuffer, ref int remaining) { MimeHeaders headers = new MimeHeaders(); while (this.mimeHeaderReader.Read(maxBuffer, ref remaining)) { headers.Add(this.mimeHeaderReader.Name, this.mimeHeaderReader.Value, ref remaining); } return headers; }
public MimeHeaders ReadHeaders(int maxBuffer, ref int remaining) { MimeHeaders headers = new MimeHeaders(); while (this.mimeHeaderReader.Read(maxBuffer, ref remaining)) { headers.Add(this.mimeHeaderReader.Name, this.mimeHeaderReader.Value, ref remaining); } return(headers); }
internal MimePart(System.IO.Stream stream, MimeHeaders headers) { this.stream = stream; this.headers = headers; }