C# Class org.GraphDefined.Vanaheimr.Illias.StreamExtensions

Extensions to the Stream class.
Mostrar archivo Open project: Vanaheimr/Illias

Public Methods

Method Description
SeekAndCopyTo ( this SourceStream, Stream DestinationStream, Int32 SkipFromBeginning ) : void

Reads the bytes from the given stream and writes them to another stream. May skip the given number of bytes.

Method Details

SeekAndCopyTo() public static method

Reads the bytes from the given stream and writes them to another stream. May skip the given number of bytes.
public static SeekAndCopyTo ( this SourceStream, Stream DestinationStream, Int32 SkipFromBeginning ) : void
SourceStream this The source stream.
DestinationStream Stream The destination stream.
SkipFromBeginning System.Int32 Anumber of bytes to skip from the beginning of the source stream.
return void