'Declaration
Public Overloads Shared Function StreamContentPump( _ ByVal sourceStream As Stream, _ ByVal destinationStream As Stream, _ ByVal maxCount As Long _ ) As Long
public static long StreamContentPump( Stream sourceStream, Stream destinationStream, long maxCount )
Parameters
- sourceStream
- The Stream to read from, starting at its current Position.
- destinationStream
- The Stream to write into, starting at its current Position.
- maxCount
- The maximum count of bytes to copy. Non-positive count will copy nothing.
Return Value
The total number of bytes copied.