writeBytes method

  1. @Deprecated('Use `BluetoothConnection.output` instead')
Future<void> writeBytes (
  1. Uint8List message
)
@Deprecated('Use `BluetoothConnection.output` instead')

Implementation

@Deprecated('Use `BluetoothConnection.output` instead')
Future<void> writeBytes(Uint8List message) {
  _defaultConnection.output.add(message);
  return _defaultConnection.output.allSent;
}