StreamHelperCopyStream Method |
Copies the content of the source stream to the destination stream.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static long CopyStream(
Stream sourceStream,
Stream destStream,
int bufferSize = 1024
)
Public Shared Function CopyStream (
sourceStream As Stream,
destStream As Stream,
Optional bufferSize As Integer = 1024
) As Long
public:
static long long CopyStream(
Stream^ sourceStream,
Stream^ destStream,
int bufferSize = 1024
)
static member CopyStream :
sourceStream : Stream *
destStream : Stream *
?bufferSize : int
(* Defaults:
let _bufferSize = defaultArg bufferSize 1024
*)
-> int64
Parameters
- sourceStream
- Type: System.IOStream
- destStream
- Type: System.IOStream
- bufferSize (Optional)
- Type: SystemInt32
Return Value
Type:
Int64See Also