C# Class Unity.PackageManager.Utils

Exibir arquivo Open project: CarlosHBC/UnityDecompiled

Public Methods

Method Description
Copy ( Stream source, Stream destination, int chunkSize ) : bool
Copy ( Stream source, Stream destination, int chunkSize, long totalSize, Func progress, int progressUpdateRate ) : bool

Private Methods

Method Description
BuildPath ( ) : string
GetTempDirectory ( ) : DirectoryInfo

Method Details

Copy() public static method

public static Copy ( Stream source, Stream destination, int chunkSize ) : bool
source Stream
destination Stream
chunkSize int
return bool

Copy() public static method

public static Copy ( Stream source, Stream destination, int chunkSize, long totalSize, Func progress, int progressUpdateRate ) : bool
source Stream
destination Stream
chunkSize int
totalSize long
progress Func
progressUpdateRate int
return bool