src/iso2709.js
function parseDirectoryEntries(directoryStr) {
		const directoryEntries = [];
		let pos = 0;
		let count = 0;

		while (directoryStr.length - pos >= 12) {
			directoryEntries[count] = directoryStr.substring(pos, pos + 12);
			pos += 12;
			count++;
		}

		return directoryEntries;
	}
function parseDirectoryEntries(directoryStr) {
		const directoryEntries = [];
		let pos = 0;
		let count = 0;

		while (directoryStr.length - pos >= 12) {
			directoryEntries[count] = directoryStr.substring(pos, pos + 12);
			pos += 12;
			count++;
		}

		return directoryEntries;
	}
function parseDirectoryEntries ( directoryStr ) { const directoryEntries = [ ] ; let pos = 0 ; let count = 0 ; while ( directoryStr . length - pos >= 12 ) { directoryEntries [ count ] = directoryStr . substring ( pos , pos + 12 ) ; pos += 12 ; count ++ ; } return directoryEntries ; }
Returns an array of 12-character directory entries.
Returns an array of 12 - character directory entries .