From d8dd8412f45f279d87fa0d13bd217288517489cb Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Fri, 27 Oct 2023 22:19:59 -0700 Subject: [PATCH] initial commits --- encodeuint16.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 encodeuint16.go diff --git a/encodeuint16.go b/encodeuint16.go new file mode 100644 index 0000000..18b6d9b --- /dev/null +++ b/encodeuint16.go @@ -0,0 +1,18 @@ +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) +}