async def section(self, sec=None):
if self.writing:<EOL><INDENT>await dump_varint(self.iobj, len(sec))<EOL>for key in sec:<EOL><INDENT>await self.section_name(key)<EOL>await self.storage_entry(sec[key])<EOL><DEDENT><DEDENT>else:<EOL><INDENT>sec = {} if sec is None else sec<EOL>count = await load_varint(self.iobj)<EOL>for idx in range(count):<EOL><INDENT>sec_name = await self.section_name()<EOL>val = await self.storage_entry()<EOL>sec[sec_name] = val<EOL><DEDENT>return sec<EOL><DEDENT>
Section / dict serialization
:return: