![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: XDR basic encode decodeby andal (Hermit) |
on Mar 27, 2012 at 07:34 UTC ( #961865=note: print w/replies, xml ) | Need Help?? |
Perl's pack() and unpack() offer partial solutions: the "N" format delivers a good fit (4 byte uint in network byte-order), but "A/*" encodes a string without extending the byte string payload length up to a multiple of 4-bytes. Have you tried something like
In Section
Seekers of Perl Wisdom
|
|