write abstract method

int write(
  1. List<int> bytes,
  2. [int offset = 0,
  3. int? length]
)

Writes the provided bytes to the sink, optionally with offsets.

Returns the number of bytes actually written.

This method is non-blocking and may be buffered.

Implementation

int write(List<int> bytes, [int offset = 0, int? length]);