copyTo method
Copies this source into dst, optionally up to limit bytes.
Implementation
Future<int> copyTo(
AsyncWrite dst, {
int bufferSize = 64 * 1024,
int? limit,
}) => _copy(this, dst, bufferSize: bufferSize, limit: limit);
Copies this source into dst, optionally up to limit bytes.
Future<int> copyTo(
AsyncWrite dst, {
int bufferSize = 64 * 1024,
int? limit,
}) => _copy(this, dst, bufferSize: bufferSize, limit: limit);