<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><p style="white-space: pre-wrap; word-wrap: break-word;">is this really an advantage?  As we don't store the 'base', any write/save would store something in decimal that the user specified in hex.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">It stores in the format that the _write() function is written in which is fine. This way one can always maintain the same format, be it hexadecimal or decimal, while still allowing the numeric value to be passed in other ways.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I am using this to define <0x00-0xffffffffff> cpu-affinity masks, to store them that way upon show running-config and then to allow to set cpu-affinity-masks also as hex, which is a lot more comfortable.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/19422">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/19422">change 19422</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/19422"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia2b7fbbf5502c28374c21dbff548232680da27d4 </div>
<div style="display:none"> Gerrit-Change-Number: 19422 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 29 Jul 2020 11:45:20 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>