Код: Выделить всё
int numByte=0;
try {
byte[] readBuffer = new byte[20];
while (inputStream.available() > 0) {
numByte = inputStream.read(readBuffer);
}
for (int i=0; i< readBuffer.length; i++) {
System.out.print(Integer.toHexString(readBuffer[i]));
}
} catch (IOException e) {}
И я получаю 4042d3030302e320000000000003438d553132332e0000000000003435da 000000000000000.
Как мне объединить, что бы можно было выхватывать значения????