AStreams.Write("123456789012345678901234567890123456789".GetBytes("UTF-8"))
AStreams.Write(strx.GetBytes("UTF-8"))
AStreams.Write("123456789012345678901234567890123456789".GetBytes("UTF-8"))
AStreams.Write(strx.GetBytes("UTF-8"))
it gives
COM7
java.lang.RuntimeException: Failed to write data. Data length = 39
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:167)
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:154)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:334)
at java.lang.Thread.run(Thread.java:745)
java.lang.RuntimeException: java.lang.RuntimeException: Failed to write data. Data length = 39
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:170)
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:154)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:334)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Failed to write data. Data length = 39
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:167)
... 3 more
what is data lenght problem?
AStreams.Write(strx.GetBytes("UTF-8"))
AStreams.Write("123456789012345678901234567890123456789".GetBytes("UTF-8"))
AStreams.Write(strx.GetBytes("UTF-8"))
it gives
COM7
java.lang.RuntimeException: Failed to write data. Data length = 39
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:167)
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:154)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:334)
at java.lang.Thread.run(Thread.java:745)
java.lang.RuntimeException: java.lang.RuntimeException: Failed to write data. Data length = 39
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:170)
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:154)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AOUT.run(AsyncStreams.java:334)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Failed to write data. Data length = 39
at anywheresoftware.b4j.serial.Serial$2.write(Serial.java:167)
... 3 more
what is data lenght problem?