go-hexadeca/encodeint32.go

19 lines
676 B
Go
Raw Permalink Normal View History

2023-10-28 18:57:50 +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 18:57:50 +00:00
)
func EncodeInt32UsingLowerCaseSymbols(value int32) (r7 byte, r6 byte, r5 byte, r4 byte, r3 byte, r2 byte, r1 byte, r0 byte) {
return hexadecabytes.EncodeInt32UsingLowerCaseSymbols(value)
}
func EncodeInt32UsingPersianSymbols(value int32) (r7 rune, r6 rune, r5 rune, r4 rune, r3 rune, r2 rune, r1 rune, r0 rune) {
return hexadecarunes.EncodeInt32UsingPersianSymbols(value)
}
func EncodeInt32UsingUpperCaseSymbols(value int32) (r7 byte, r6 byte, r5 byte, r4 byte, r3 byte, r2 byte, r1 byte, r0 byte) {
return hexadecabytes.EncodeInt32UsingUpperCaseSymbols(value)
}