header

Function header 

Source
pub fn header(b: &[u8]) -> Option<(u8, u16)>
Expand description

包头的类型和标志;魔数或长度不对时返回 None。