Add support for segment (de)serialization.

This commit is contained in:
Constantine Vetoshev
2016-06-23 14:15:31 -07:00
parent 032713f8b9
commit 09705b6d1f
3 changed files with 68 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ cdef class _DynamicStructBuilder:
cdef _check_write(self)
cpdef to_bytes(_DynamicStructBuilder self) except +reraise_kj_exception
cpdef to_segments(_DynamicStructBuilder self) except +reraise_kj_exception
cpdef _to_bytes_packed_helper(_DynamicStructBuilder self, word_count) except +reraise_kj_exception
cpdef to_bytes_packed(_DynamicStructBuilder self) except +reraise_kj_exception