read method
- [int? len]
Read up to len
bytes from the socket.
This function is non-blocking and will only return data if data is available. The number of bytes read can be less then len
if fewer bytes are available for immediate reading. If no data is available null
is returned.
Implementation
Uint8List? read([int? len]);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/RawSocket/read.html