Hi Caveat,
I'm using the routine only to decode a small string sent in a telnet socket app.
I have changed it a bit so it doesn't return byte[] but a string instead.
FOR iIdy = 1 TO 3
IF iPtr iLengthUU
' converts each block of 8 bits to its decimal value and
assigns to
Hi Ron-2nd,
Sounds like a fun project! :-)
I run a website here and it could be interesting to have it talk to me
over a telnet socket...
BTW, I figured out how to do it bit-wise... after my third coffee... :-P
So just for completeness...(don't forget to trim the last result if
needed,
I'm trying to decode this with gambas, no luck, anyone has an idea?
#!/usr/bin/perl
print pack('u', send:);
%V5N9#H`
So decoding %V5N9#H` should result in 'send:'
The pack 'u' function does uuencoding but all vb alike code doesn't
reproduce the correct result, or struggles with the `...
Do you handle ` (grave accent) correctly?
http://en.wikipedia.org/wiki/Uuencoding#Uuencode_table
How are you trying to do this in Gambas? Any code to show?
Jussi
On Mon, Sep 19, 2011 at 14:24, Ron r...@cyberjunky.nl wrote:
I'm trying to decode this with gambas, no luck, anyone has an idea?
Great work!
I had a few vb code to start from, but the all where slightly
different, so where the results.
This shows it's sometimes better to just start from the basic info and
work from there line by line...
Thanks alot!
Going to put this in my project...
Regards,
Ron_2nd.
2011/9/20 Caveat