Currently, ToDname and ToRelativeDname only have methods that can fail if the buffer is too small. Change this to the approach used elsewhere where a try_to method returns an error and a plain to method without error is available for octets type that have unlimited buffers.
Currently,
ToDname
andToRelativeDname
only have methods that can fail if the buffer is too small. Change this to the approach used elsewhere where atry_to
method returns an error and a plainto
method without error is available for octets type that have unlimited buffers.