diff --git a/encodebyte.go b/encodebyte.go index 0629e51..9591589 100644 --- a/encodebyte.go +++ b/encodebyte.go @@ -2,16 +2,17 @@ package hexadeca import ( "sourcecode.social/reiver/go-hexadeca/bytes" + "sourcecode.social/reiver/go-hexadeca/runes" ) -func EncodeByte(value byte, symbolFunc func(byte)byte) (mostSignificant byte, leastSignificant byte) { - return hexadecabytes.EncodeByte(value, symbolFunc) -} - func EncodeByteUsingLowerCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) { return hexadecabytes.EncodeByteUsingLowerCaseSymbols(value) } +func EncodeByteUsingPersianSymbols(value byte) (mostSignificant rune, leastSignificant rune) { + return hexadecarunes.EncodeByteUsingPersianSymbols(value) +} + func EncodeByteUsingUpperCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) { return hexadecabytes.EncodeByteUsingUpperCaseSymbols(value) }