How do i convert a integer to a byte and add them to a bytearray and then write to a outputstream.
similarly how do i convert a string to a byte and add to a bytearray and then write to a outputstream.
String s = "hallo";
byte a = String.getBytes(s);
i know this method but after converting to a byte array a
i need to add this to another byte array
how could i do it
finally combining integer and string converted to a byte and adding them to a bytearray and later write to a outputstream