gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] AMF::encode* and ::encodeElement


From: strk
Subject: [Gnash-dev] AMF::encode* and ::encodeElement
Date: Tue, 9 Dec 2008 14:12:30 +0100

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! 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]