initial commits
parent
2a03742ed1
commit
f6a0d45585
11
README.md
11
README.md
|
@ -26,23 +26,25 @@ For example —
|
||||||
|
|
||||||
`'0'`, `'1'`, `'2'`, `'3'`, `'4'`, `'5'`, `'6'`, `'7'`, `'8'`, `'9'`, `'a'`, `'b'`, `'c'`, `'d'`, `'e'`, `'f'`.
|
`'0'`, `'1'`, `'2'`, `'3'`, `'4'`, `'5'`, `'6'`, `'7'`, `'8'`, `'9'`, `'a'`, `'b'`, `'c'`, `'d'`, `'e'`, `'f'`.
|
||||||
|
|
||||||
For example:
|
Sample:
|
||||||
`c0de`
|
`c0de`
|
||||||
|
|
||||||
### Upper-Case Symbols
|
### Upper-Case Symbols
|
||||||
|
|
||||||
`'0'`, `'1'`, `'2'`, `'3'`, `'4'`, `'5'`, `'6'`, `'7'`, `'8'`, `'9'`, `'A'`, `'B'`, `'C'`, `'D'`, `'E'`, `'F'`.
|
`'0'`, `'1'`, `'2'`, `'3'`, `'4'`, `'5'`, `'6'`, `'7'`, `'8'`, `'9'`, `'A'`, `'B'`, `'C'`, `'D'`, `'E'`, `'F'`.
|
||||||
|
|
||||||
For example:
|
Sample:
|
||||||
`C0DE`
|
`C0DE`
|
||||||
|
|
||||||
### Persian Symbols
|
### Persian Symbols
|
||||||
|
|
||||||
`'۰'` [zero], `'۱'` [one], `'۲'` [two], `'۳'` [three], `'۴'` [four], `'۵'` [five], `'۶'` [six], `'۷'` [seven], `'۸'` [eight], `'۹'` [nine], `'ی'` (ye) [ten], `'ک'` (kāf) [eleven], `'ل'` (lâm) [twelve], `'م'` (mim) [thirteen], `'ن'` (nun) [fourteen], `'س'` (sin) [fifteen]
|
`'۰'` [zero], `'۱'` [one], `'۲'` [two], `'۳'` [three], `'۴'` [four], `'۵'` [five], `'۶'` [six], `'۷'` [seven], `'۸'` [eight], `'۹'` [nine], `'ی'` (ye) [ten], `'ک'` (kāf) [eleven], `'ل'` (lâm) [twelve], `'م'` (mim) [thirteen], `'ن'` (nun) [fourteen], `'س'` (sin) [fifteen]
|
||||||
|
|
||||||
For example:
|
Sample:
|
||||||
`ل۰من`
|
`ل۰من`
|
||||||
|
|
||||||
|
### Custom Symbols
|
||||||
|
|
||||||
As well as defining you own using function:
|
As well as defining you own using function:
|
||||||
```go
|
```go
|
||||||
func CustomSymbol(value byte) rune {
|
func CustomSymbol(value byte) rune {
|
||||||
|
@ -77,6 +79,9 @@ func CustomSymbol(value byte) rune {
|
||||||
r1, r0 := hexadeca.EncodeRune(value, CustomSymbol)
|
r1, r0 := hexadeca.EncodeRune(value, CustomSymbol)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Sample:
|
||||||
|
`𝍬𝍠𝍭𝍮`
|
||||||
|
|
||||||
## hexadecimal encode `byte`
|
## hexadecimal encode `byte`
|
||||||
|
|
||||||
To hexadecimal encode a `byte` use any of these:
|
To hexadecimal encode a `byte` use any of these:
|
||||||
|
|
Loading…
Reference in New Issue