项目作者: HexaG0nYT

项目描述 :
Numeral System Converter in Lua by HexaG0n
高级语言: Lua
项目地址: git://github.com/HexaG0nYT/numsy-lua.git
创建时间: 2021-06-30T03:21:55Z
项目社区:https://github.com/HexaG0nYT/numsy-lua

开源协议:

下载


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?

  1. require('numsy')
  2. --then you can do for example
  3. 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