Function swash::tag_from_str_lossy
source ยท pub fn tag_from_str_lossy(s: &str) -> Tag
Expand description
Creates a tag from the first four bytes of a string, inserting spaces for any missing bytes.
pub fn tag_from_str_lossy(s: &str) -> Tag
Creates a tag from the first four bytes of a string, inserting spaces for any missing bytes.