From 33764fecda03f27a8568b6a2d6316941240678d0 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Fri, 27 Oct 2023 22:13:42 -0700 Subject: [PATCH] initial commits --- encodebyte.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 encodebyte.go diff --git a/encodebyte.go b/encodebyte.go new file mode 100644 index 0000000..0629e51 --- /dev/null +++ b/encodebyte.go @@ -0,0 +1,17 @@ +package hexadeca + +import ( + "sourcecode.social/reiver/go-hexadeca/bytes" +) + +func EncodeByte(value byte, symbolFunc func(byte)byte) (mostSignificant byte, leastSignificant byte) { + return hexadecabytes.EncodeByte(value, symbolFunc) +} + +func EncodeByteUsingLowerCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) { + return hexadecabytes.EncodeByteUsingLowerCaseSymbols(value) +} + +func EncodeByteUsingUpperCaseSymbols(value byte) (mostSignificant byte, leastSignificant byte) { + return hexadecabytes.EncodeByteUsingUpperCaseSymbols(value) +}