Function make_tag

Source
pub const fn make_tag(c: &[u8; 2]) -> u16
Expand description

Create a tag from two ASCII letters.

let tag = rp_binary_info::make_tag(b"RP");
assert_eq!(tag, 0x5052);