From 8b0bf9bc7a965ff9763c814bd386ac5a496e4044 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Fri, 27 Oct 2023 22:22:02 -0700 Subject: [PATCH] initial commits --- encodeuint32.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 encodeuint32.go diff --git a/encodeuint32.go b/encodeuint32.go new file mode 100644 index 0000000..2c700cb --- /dev/null +++ b/encodeuint32.go @@ -0,0 +1,18 @@ +package hexadeca + +import ( + "sourcecode.social/reiver/go-hexadeca/bytes" + "sourcecode.social/reiver/go-hexadeca/runes" +) + +func EncodeUint32UsingLowerCaseSymbols(value uint32) (r7 byte, r6 byte, r5 byte, r4 byte, r3 byte, r2 byte, r1 byte, r0 byte) { + return hexadecabytes.EncodeUint32UsingLowerCaseSymbols(value) +} + +func EncodeUint32UsingPersianSymbols(value uint32) (r7 rune, r6 rune, r5 rune, r4 rune, r3 rune, r2 rune, r1 rune, r0 rune) { + return hexadecarunes.EncodeUint32UsingPersianSymbols(value) +} + +func EncodeUint32UsingUpperCaseSymbols(value uint32) (r7 byte, r6 byte, r5 byte, r4 byte, r3 byte, r2 byte, r1 byte, r0 byte) { + return hexadecabytes.EncodeUint32UsingUpperCaseSymbols(value) +}