Метод addSlice (абстрактный)
void addSlice(Добавляет следующий chunk в this.
Добавляет байты, определённые start и end (не включая end) в this.
Если isLast равно true завершает this.
В отличие от add предоставленные chunk не должны сохраняться. После возврата метода безопасно перезаписать данные в нём.
Исходный код
void addSlice(List<int> chunk, int start, int end, bool isLast);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-convert/ByteConversionSink/addSlice.html