Config constructor
Config()
Creates a default Zenoh configuration.
Throws ZenohException if the native config creation fails.
Implementation
Config() : _ptr = calloc.allocate(bindings.zd_config_sizeof()) {
final rc = bindings.zd_config_default(_ptr.cast());
if (rc != 0) {
calloc.free(_ptr);
throw ZenohException('Failed to create default config', rc);
}
}