I'm using a third party ssh library and I need to specify some options as a byte array. Namely the terminal modes (http://www.ietf.org/rfc/rfc4254.txt).
My problem is that I need to create a byte
array that is the 'equivalent' of a uint
array {128, 36000, 129, 36000}
and I am not quite sure on how to achieve that. By equivalent I mean - I don't care what number it represents in java, I do care that the correct bytes are sent down the socket.
Any hints? Thanks in advance.