Skip to content

Deal with strings of space separated hexadecimal bytes

License

Notifications You must be signed in to change notification settings

xyproto/hexstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

helloWorldBytes, err := StringToBytes("48 65 6c 6c 6f 20 57 6f 72 6c 64 21")

General info

About

Deal with strings of space separated hexadecimal bytes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages