go-hexadeca/encodeint8.go

19 lines
586 B
Go
Raw Permalink Normal View History

2023-10-28 20:35:39 +00:00
package hexadeca
import (
2024-07-25 11:33:45 +00:00
"github.com/reiver/go-hexadeca/bytes"
"github.com/reiver/go-hexadeca/runes"
2023-10-28 20:35:39 +00:00
)
func EncodeInt8UsingLowerCaseSymbols(value int8) (mostSignificant byte, leastSignificant byte) {
return hexadecabytes.EncodeInt8UsingLowerCaseSymbols(value)
}
func EncodeInt8UsingPersianSymbols(value int8) (mostSignificant rune, leastSignificant rune) {
return hexadecarunes.EncodeInt8UsingPersianSymbols(value)
}
func EncodeInt8UsingUpperCaseSymbols(value int8) (mostSignificant byte, leastSignificant byte) {
return hexadecabytes.EncodeInt8UsingUpperCaseSymbols(value)
}