New serializer work.

Rework add/addRaw/addData per discussion with Arthur.
New STObject add/deserialize code.
STArray add/deserialize code.
Allow arrays of normal fields.
Other small fixes.
This commit is contained in:
JoelKatz
2012-09-27 15:43:29 -07:00
parent 5d0adc449b
commit b6653732b0
6 changed files with 132 additions and 56 deletions

View File

@@ -275,7 +275,7 @@ void STAmount::canonicalize()
assert((mValue != 0) || (mOffset != -100) );
}
void STAmount::addData(Serializer& s) const
void STAmount::add(Serializer& s) const
{
if (mIsNative)
{