function decodeCSV(input) {
	const entries = input.replace("\n", "").trim().split(",");

	const result = [];
	for (let i = 0; i < entries.length; i++) {
		result.push(+entries[i]);
	}
	return result;
}
Decode a CSV encoded array into a binary array
@memberof TMXUtils
@param  {string} input- -  CSV formatted data (only numbers, everything else will be converted to NaN)
@returns {number[]} Decoded data