Macro allsorts_no_std::tag[][src]

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

Generate a 4-byte OpenType tag from byte string

Example:

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