SOAP-Lite - Finding the size of auto-typed base64Binary data in SOAP::Data

Posted on Tue Aug 19 22:48:55 2008 by bobdolebananaphone
Finding the size of auto-typed base64Binary data in SOAP::Data
When I put binary data into a field in SOAP::Lite, it gets serialized to base64Binary data...Howeve +r, this doesn't do me any good if I don't know the size, because without the size, I can't decode +it at the other side. I have tried like $base64Data = SOAP::Data->name(data => $binarydata)->type('base64Binary'); $len = length($base64Data->value()); But $len holds the size of the original data, not the (expanded) base64ed data. Is there a simple way to find this? Does it have to go into the serializer first? Thanks Bob
Write a response