write method

int write(
  1. List<int> bytes
)

Writes raw bytes to the output buffer and returns the byte count.

Implementation

int write(List<int> bytes) {
  _buf.write(String.fromCharCodes(bytes));
  return bytes.length;
}