ParameterSet parameterSet = ParameterSet.fromArrayNoCopy(config.configBytes);
// serialize the param set
clearPsetAndEnsureCapacity(parameterSet.getSerializedSize());
try {
parameterSet.flattenToBuffer(psetBuffer);
} catch (final IOException exception) {
throw new RuntimeException(exception); // can't happen
}
}