As a general rule, should AMF::encodeElement(el)
return the same as AMF::encodeString("a string")
IFF el is an Element of type string and value "a string" ?

Is it also the case for any other type ?

I'm asking to improve the testsuite/libamf.all/test_amf.cpp
to add tests for ::encodeElement, and so far neither
NULL nor STRING types return the same size from the 
type-specific and Element based methods.

--strk; 

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to