Started to implement zero copy serialization functions. All tests works.