Macro allsorts_no_std::tag [−][src]
Generate a 4-byte OpenType tag from byte string
Example:
use allsorts::tag; assert_eq!(tag!(b"glyf"), 0x676C7966);
Generate a 4-byte OpenType tag from byte string
Example:
use allsorts::tag; assert_eq!(tag!(b"glyf"), 0x676C7966);