parse_callsign_list

Function parse_callsign_list 

Source
pub fn parse_callsign_list(
    data: &[u8],
) -> Result<Vec<CallsignEntry>, SdCardError>
Expand description

Parses a callsign list TSV file from raw bytes.

Expects UTF-16LE encoding with a BOM prefix (FF FE). The first line is treated as a column header and is skipped. Each subsequent line contains at least one column (the callsign).

ยงErrors

Returns an SdCardError if the encoding is invalid or a data row has no columns.