|
|
|
|
|
by jpollock
1147 days ago
|
|
Thanks for the tip, phind is much better. Still has the "won't fit in an int" problem, but it did use byte & 0x77 to get them into ints. Amazingly, it got the field correct and in the right order! It did not reference a source, but that seems to be a Bard feature right now. |
|
It needed:
1) write a function in java to decode a rfc 3588 diameter header
2) 32 bit values will not fit into a java int, please fix the code.
3) 24 bit values will not fit into a java int, please fix the code.
I think I'm going to have to come up with a more complicated problem!
Pretty impressively, this is what it produced: