write method

Future<num> write(
  1. Uint8List p
)

NOTE: This methods writes bytes synchronously; it's provided for compatibility with Writer interface.

Implementation

_i2.Future<_i2.num> write(_i9.Uint8List p) =>
    _i3.promiseToFuture(_i3.callMethod(
      this,
      'write',
      [p],
    ));