14 lines
300 B
C#
14 lines
300 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Chtn.CSharp.SDK.Interfaces
|
|
{
|
|
public interface IFileWriterAPI
|
|
{
|
|
Task OpenFile(string transferId, string fileName, long totalSize);
|
|
|
|
Task WriteChunk(string transferId, byte[] data);
|
|
|
|
void CloseFile(string transferId);
|
|
}
|
|
}
|