Add "calc_size" function to calculate buffer size needed if data is given
Add a test case for flat serialize
Use handwritten schema in unit test cases
Add enum support for flat serialization
Support sub struct for flat serialization
Make it more clear for sub struct serialization
Add support for list member serialization
Add a test case for text flat serialization
Test flat serialization with real data
Add benchmark for flat serialization
finish flat_serialize in handwritten_capnp.lua
Add benchmark for test_capnp.T1.serialize
Remove unused code
T.serialize now support write to outer buffer
Wrote compiler for new flat serialization code
Check field data type before write to buffer
Fix a compiler bug which result in producing corrupt message
Return value 0 for unknown enum value string
Fix under score naming conversion bug
convert string to lower in get_enum_val as needed