def METHOD_NAME(cls, data: Buffer) -> Optional["Object"]:
    full_id = ObjectClass.METHOD_NAME(data)
    if full_id is None:
        return None
    object_class = cls.DB.class_ids[full_id]
    result = cls(class_name=object_class.full_name)
    for attr in object_class.attrs:
        value = attr.METHOD_NAME(data)
        result.data[attr.name] = value
    return result