Function parse_data_type

Source
pub fn parse_data_type(code: u8) -> Result<DataType, u8>
Expand description

Parse a SANE-encoded u8 into the corresponding DataType.