1.Modify getValidField to check null object.
2.Add record current field before encode object;
3.Modify return current string length when StringType's length is zero.
1.Add OCFloat, OCLong, OCDouble.
2.Modify OCBytes decode code.