Currently there are two functions model_script::parse and model_script::parse_binary. Since we can detect whether we're dealing with a binary file or not by reading the first two bytes and checking whether the resulting uint16_t is in range of any of the chunk IDs, there should only be one parse function.
Currently there are two functions
model_script::parse
andmodel_script::parse_binary
. Since we can detect whether we're dealing with a binary file or not by reading the first two bytes and checking whether the resultinguint16_t
is in range of any of the chunk IDs, there should only be oneparse
function.