code: def _get_embedded(self, name):
          '''
          Return an embedded struct object to calculate the size or use _tobytes(True) to convert just the
          embedded parts.
          
          :param name: either the original type, or the name of the original type. It is always the type
                       used in type definitions, even if it is already replaced once or more.
          
          :returns: an embedded struct
          '''
          if hasattr(name, 'readablename'):
              name = name.readablename
          t,i = self._target._embedded_indices[name]
          return t._seqs[if _get_embedded(self, name):
          '''
          Return an embedded struct object to calculate the size or use _tobytes(True) to convert just the
          embedded parts.
          
          :param name: either the original type, or the name of the original type. It is always the type
                       used in type definitions, even if it is already replaced once or more.
          
          :returns: an embedded struct
          '''
          if hasattr(name, 'readablename'):
              name = name.readablename
          t,i = self._target._embedded_indices[name]
          return t._seqs[i]
docs: Return an embedded struct object to calculate the size or use _tobytes(True) to convert just the
          embedded parts.
          
          :param name: either the original type, or the name of the original type. It is always the type
                       used in type definitions, even if it is already replaced once or more.
          
          :returns: an embedded struct