fmt_pack_size [function]

fmt_pack_size( string fmt )

calculates the number of bytes generated by a successful fmt_pack call / required to successfully unpack data using the given format

print fmt_pack_size( "3ld" ); // prints 20