CopyAndCloseSource() public static method

public static CopyAndCloseSource ( this source, Stream destination, long size ) : long
source this
destination Stream
size long
return long
Example #1
0
 public override void WriteTo(Stream other, long?length)
 {
     using (this.stream)
     {
         closed = true;
         StreamExtensions.CopyAndCloseSource(this.stream, other, length);
     }
 }