P
Peted
Is it possible to concatanate a string and a byte array, into a
"string" variable, send it as a string to an ip socket device and have
the bytes, seen as a sequence of bytes, not char or string ?
I have a machine connected to a ip signal routing device. The ip
routing only takes strings as data, but the machine connected, needs a
sequence of 32 bytes for its instruction set.
or is there perhaps a way to do in a string something similar to
\xBE\xEF, but instaed of producing ascii from the hex numbers, encode
them as bytes.
Any ideas appreciated
thanks
Peted
"string" variable, send it as a string to an ip socket device and have
the bytes, seen as a sequence of bytes, not char or string ?
I have a machine connected to a ip signal routing device. The ip
routing only takes strings as data, but the machine connected, needs a
sequence of 32 bytes for its instruction set.
or is there perhaps a way to do in a string something similar to
\xBE\xEF, but instaed of producing ascii from the hex numbers, encode
them as bytes.
Any ideas appreciated
thanks
Peted