Crate file2png

Crate file2png 

Source

Functions§

file_name
Returns the filename of an input file
get_png_bytes
get_png_bytes returns the bytes of a png file
get_starting_point
This function returns the starting point for a file This uses a weird workaround so it’s not very safe Might fail if some metadata contains ###SIZE
hash_vec
hash_vec returns the sha256 hash sum of a &[u8] as a string
str_to_vec
str_to_vec turns a string into a Vec<u8> it was used for headers