i.e. it's not relevant to users that the string version has a distinct implementation.In fact I suggest someone implements this.
The problem is not the users, and the places where you will use your program. Because this code is easy to make a mistake that can lead to failure in the automated system.
Unfortunately, writing such code is not safe.