Skip to content

Simple example how to convert hex value to beautiful style.

License

Notifications You must be signed in to change notification settings

muhammadmiziev/Hexify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Hexify

Simple Converter hex value to beautiful style.

Usage & Example

Hexify

hex_raw_bytes = b'48656c6c6f2120486f772061726520796f753f0a48656c6c6f2120486f772061726520796f753f0a48656c6c6f2120486f772061726520796f753f0a'
out = Hexify().toHexify(hex_raw_bytes)
print(out)

output:

4865	6c6c	6f21	2048	6f77	2061
7265	2079	6f75	3f0a	4865	6c6c
6f21	2048	6f77	2061	7265	2079
6f75	3f0a	4865	6c6c	6f21	2048
6f77	2061	7265	2079	6f75	3f0a

Unhexify

raw = Hexify().toUnhexify(out)
print(raw)

output:

b'48656c6c6f2120486f772061726520796f753f0a48656c6c6f2120486f772061726520796f753f0a48656c6c6f2120486f772061726520796f753f0a'

About

Simple example how to convert hex value to beautiful style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages