C# Class Codaxy.Common.IO.StreamUtil

Exibir arquivo Open project: codaxy/common

Public Methods

Method Description
Copy ( Stream input, Stream output ) : void
CopyFrom ( this output, Stream input ) : void
CopyFromFile ( this output, String inputFilePath ) : void
CopyTo ( this input, Stream output ) : void
ReadToEnd ( this input ) : byte[]

Method Details

Copy() public static method

public static Copy ( Stream input, Stream output ) : void
input Stream
output Stream
return void

CopyFrom() public static method

public static CopyFrom ( this output, Stream input ) : void
output this
input Stream
return void

CopyFromFile() public static method

public static CopyFromFile ( this output, String inputFilePath ) : void
output this
inputFilePath String
return void

CopyTo() public static method

public static CopyTo ( this input, Stream output ) : void
input this
output Stream
return void

ReadToEnd() public static method

public static ReadToEnd ( this input ) : byte[]
input this
return byte[]