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) +}