pub fn read_lump<T: BspValue>(
data: &[u8],
entry: LumpEntry,
lump_name: &'static str,
ctx: &BspParseContext,
) -> BspResult<Vec<T>>Expand description
Helper function to read an array of data of type T from a lump. Takes in the BSP file data, the lump directory, and the lump to read from.