-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi, @user-none
I've just known about your module and it works like a charm. However, I was intrigued by one aspect of the code:
ashex recurs to a local function tostring_int not accessible for the user, which in turns limits itself to base 10 and 16 (lines 602-604):
if base ~= 10 and base ~= 16 then
return nil, "base not supported"
endIs there a specific reason not to make base conversions accessible, e.g., via a new anumber:tobase(base).
Sorry if my question is a bit dumb. I'm not (hopefully still) very familiar to bitwise operations, so maybe I'm missing something from your code. Thank you in advance.
Metadata
Metadata
Assignees
Labels
No labels