Spec-Zone.ru › Dart 2

dart:io

writeFrom abstract method

Future<RandomAccessFile> writeFrom(
  1. List<int> buffer,
  2. [int start = 0,
  3. int? end]
)

Writes from a buffer to the file.

Will read the buffer from index start to index end. The start must be non-negative and no greater than buffer.length. If end is omitted, it defaults to buffer.length. Otherwise end must be no less than start and no greater than buffer.length.

Returns a Future<RandomAccessFile> that completes with this RandomAccessFile when the write completes.

Implementation

Future<RandomAccessFile> writeFrom(List<int> buffer,
    [int start = 0, int? end]);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-io/RandomAccessFile/writeFrom.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API