Compare commits

..

No commits in common. "d8dd8412f45f279d87fa0d13bd217288517489cb" and "33764fecda03f27a8568b6a2d6316941240678d0" have entirely different histories.

2 changed files with 4 additions and 23 deletions

View File

@ -2,17 +2,16 @@ package hexadeca
import ( import (
"sourcecode.social/reiver/go-hexadeca/bytes" "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) { func EncodeByteUsingLowerCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) {
return hexadecabytes.EncodeByteUsingLowerCaseSymbols(value) return hexadecabytes.EncodeByteUsingLowerCaseSymbols(value)
} }
func EncodeByteUsingPersianSymbols(value byte) (mostSignificant rune, leastSignificant rune) {
return hexadecarunes.EncodeByteUsingPersianSymbols(value)
}
func EncodeByteUsingUpperCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) { func EncodeByteUsingUpperCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) {
return hexadecabytes.EncodeByteUsingUpperCaseSymbols(value) return hexadecabytes.EncodeByteUsingUpperCaseSymbols(value)
} }

View File

@ -1,18 +0,0 @@
package hexadeca
import (
"sourcecode.social/reiver/go-hexadeca/bytes"
"sourcecode.social/reiver/go-hexadeca/runes"
)
func EncodeUint16UsingLowerCaseSymbols(value uint16) (r3 byte, r2 byte, r1 byte, r0 byte) {
return hexadecabytes.EncodeUint16UsingLowerCaseSymbols(value)
}
func EncodeUint16UsingPersianSymbols(value uint16) (r3 rune, r2 rune, r1 rune, r0 rune) {
return hexadecarunes.EncodeUint16UsingPersianSymbols(value)
}
func EncodeUint16UsingUpperCaseSymbols(value uint16) (r3 byte, r2 byte, r1 byte, r0 byte) {
return hexadecabytes.EncodeUint16UsingUpperCaseSymbols(value)
}