https://github.com/xyproto/hexstring
Deal with strings of space separated hexadecimal bytes
https://github.com/xyproto/hexstring
hexadecimal string-manipulation
Last synced: 5 months ago
JSON representation
Deal with strings of space separated hexadecimal bytes
- Host: GitHub
- URL: https://github.com/xyproto/hexstring
- Owner: xyproto
- License: mit
- Created: 2018-12-20T10:57:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T11:58:05.000Z (over 6 years ago)
- Last Synced: 2025-01-11T00:56:06.947Z (9 months ago)
- Topics: hexadecimal, string-manipulation
- Language: Go
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexstring
Deal with strings of space separated hexadecimal bytes.
## Example use
Convert a string with space separated numbers from `0x00` to `0xff` to a byte slice:
```go
helloWorldBytes, err := StringToBytes("48 65 6c 6c 6f 20 57 6f 72 6c 64 21")
```## General info
* License: MIT
* Version: 1.0.0
* Author: Alexander F. Rødseth <xyproto@archlinux.org>