Hello together!
I tried to read a string from a server to bytes, but when I read out the buffer, most of the values are negativ. What can be the reason for that?
Thanks or help....
I tried to read a string from a server to bytes, but when I read out the buffer, most of the values are negativ. What can be the reason for that?
B4X:
Dim buffer(100) As Byte
Dim InputStream1 as InputStream
If InputStream1.BytesAvailable > 0 Then
bufferlength=InputStream1.ReadBytes(buffer,0,buffer.Length)
end if
Thanks or help....