initial commits

master
Charles Iliya Krempeaux 2023-10-26 17:01:40 -07:00
parent 2dc7f57d5e
commit a9337933f7
1 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,22 @@ Online documentation, which includes examples, can be found at: http://godoc.org
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-hexadeca?status.svg)](https://godoc.org/sourcecode.social/reiver/go-hexadeca) [![GoDoc](https://godoc.org/sourcecode.social/reiver/go-hexadeca?status.svg)](https://godoc.org/sourcecode.social/reiver/go-hexadeca)
## Example
```go
import "sourceccode.social/reiver/go-hexadeca"
// ...
// value==254 -> mostSignificant=='f', leastSignificant=='e'
mostSignificant, leastSignificant := hexadeca.EncodeByteUsingLowerCaseSymbols(value)
// ...
// value==254 -> mostSignificant=='F', leastSignificant=='E'
mostSignificant, leastSignificant := hexadeca.EncodeByteUsingUpperCaseSymbols(value)
```
## Import ## Import
To import package **hexadeca** use `import` code like the follownig: To import package **hexadeca** use `import` code like the follownig: