async def container_size(self, container_len=None, container_type=None, params=None):
if hasattr(container_type, '<STR_LIT>'):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if self.writing:<EOL><INDENT>await dump_uvarint(self.iobj, container_len)<EOL>if not container_is_raw(container_type, params):<EOL><INDENT>c_elem = x.container_elem_type(container_type, params)<EOL>c_ver = TypeWrapper(c_elem)<EOL>await dump_uvarint(self.iobj, self._cur_version(c_ver))  <EOL><DEDENT>if container_type.FIX_SIZE and container_len != container_type.SIZE:<EOL><INDENT>raise ValueError('<STR_LIT>' % container_type.SIZE)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>
Container size
:param container_len:
:param container_type:
:param params:
:return: