go-hexadeca/encodeuint16.go

19 lines
577 B
Go
Raw Normal View History

2023-10-28 05:19:59 +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 05:19:59 +00:00
)
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)
}