MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / write

Method write

android/src/AndroidPort.java:52–52  ·  view source on GitHub ↗

Write data to the port. Execution blocks until at least one bytes is written or an error occurs or until the timeout expires. @param data the data to be written @param length the number of bytes to be written @return the number of bytes that were written or -1 on error/timeout

(byte[] data, int length)

Source from the content-addressed store, hash-verified

50 * @return the number of bytes that were written or -1 on error/timeout
51 */
52 int write(byte[] data, int length);
53}

Callers 8

writeMethod · 0.95
writeMethod · 0.95
runMethod · 0.65
writeMethod · 0.65
writeMethod · 0.65
runMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65

Implementers 6

UsbSerialPortandroid/src/UsbSerialPort.java
HM10Portandroid/src/HM10Port.java
MultiPortandroid/src/MultiPort.java
ProxyAndroidPortandroid/src/ProxyAndroidPort.java
PortBridgesrc/Android/BluetoothHelper.hpp
AbstractAndroidPortandroid/src/AbstractAndroidPort.java

Calls

no outgoing calls

Tested by

no test coverage detected