go-hexadeca/encodeint16.go

19 lines
568 B
Go
Raw Permalink Normal View History

2023-10-28 19:02:30 +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 19:02:30 +00:00
)
func EncodeInt16UsingLowerCaseSymbols(value int16) (r3 byte, r2 byte, r1 byte, r0 byte) {
return hexadecabytes.EncodeInt16UsingLowerCaseSymbols(value)
}
func EncodeInt16UsingPersianSymbols(value int16) (r3 rune, r2 rune, r1 rune, r0 rune) {
return hexadecarunes.EncodeInt16UsingPersianSymbols(value)
}
func EncodeInt16UsingUpperCaseSymbols(value int16) (r3 byte, r2 byte, r1 byte, r0 byte) {
return hexadecabytes.EncodeInt16UsingUpperCaseSymbols(value)
}