Beispiel #1
0
 /// <summary>
 /// Read bytes from the body stream into a section of
 /// an existing byte array, without encoding or
 /// interpretation. Returns the number of bytes read from the
 /// body and written into the target array, which may be less
 /// than the number requested if the end-of-stream is reached.
 /// </summary>
 public int RawRead(byte[] target, int offset, int length)
 {
     return(BodyStream.Read(target, offset, length));
 }
 public override int Read(byte[] buffer, int offset, int count)
 {
     return(BodyStream.Read(buffer, offset, count));
 }