sendBytes method

bool sendBytes(
  1. List<int> bytes
)

send bytes to the peer and returns true if succeeded

Implementation

bool sendBytes(List<int> bytes) => send(Uint8List.fromList(bytes));