Skip to content

FMNSSun/hexit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

hexit

Hexit provides utility functions to convert uint* to hex. It's faster than using fmt.Sprintf, strconv.AppendUint or strconv.FormatUint.

Examples

buf := make([]byte, 8)
hexit.HexUint32To(num, buf)
buf := hexit.HexUint32(num)
str := hexit.HexUint16(num)
num := UnhexUint16("beef")

About

Fast conversion to hex.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages