W3cubDocs

/Dart 2

addUtf8Text method

void addUtf8Text (List<int> bytes)

Sends a text message with the text represented by bytes.

The bytes should be valid UTF-8 encoded Unicode characters. If they are not, the receiving end will close the connection.

Implementation

void addUtf8Text(List<int> bytes);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/WebSocket/addUtf8Text.html