logo
macro_rules! tag {
    ($w:expr) => { ... };
}
Expand description

Generate a 4-byte OpenType tag from byte string

Example:

use allsorts::tag;
assert_eq!(tag!(b"glyf"), 0x676C7966);