项目作者: HexaG0nYT
项目描述 :
Numeral System Converter in Lua by HexaG0n
高级语言: Lua
项目地址: git://github.com/HexaG0nYT/numsy-lua.git
Numsy
Numeral System Converter in Lua by HexaG0n.
What does it do?
It converts ASCII to Binary, Octals, Decimals, Hexadecimals and Binary, Octals, Decimals and Hexadecimals to ASCII.
How to use?
require('numsy')
--then you can do for example
print(str2hex('Hello'))
ASCII To Functions
- str2bin >> Converts ASCII String text to Binary
- str2oct >> Converts ASCII String text to Octal
- str2dec >> Converts ASCII String text to Decimal
- str2hex >> Converts ASCII String text to Hexadecimal
To ASCII Functions
- bin2str >> Converts Binary code to ASCII String Text
- oct2str >> Converts Octal code to ASCII String Text
- dec2str >> Converts Decimal code to ASCII String Text
- hex2str >> Converts Hexadecimal code to ASCII String Text