Function meshopt::encoding::decode_index_buffer [−][src]
pub fn decode_index_buffer<T: Clone + Default>(
encoded: &[u8],
index_count: usize
) -> Result<Vec<T>>
Decodes index data from an array of bytes generated by encode_index_buffer
.
The decoder is safe to use for untrusted input, but it may produce garbage
data (e.g. out of range indices).