jsjpeg.js
/**
 * Process an segment we don't support. Effectively a NOOP for now.
 * 
 * @param {String} marker Name of the segment
 * @param {DataViewReader} reader 
 */
Process an segment we don't support. Effectively a NOOP for now.

@param {String} marker Name of the segment
@param {DataViewReader} reader
Process an segment we don ' t support . Effectively a NOOP for now . @param { String } marker Name of the segment @param { DataViewReader } reader
function parseUnsupportedSegment(marker, reader) {
    let length = reader.nextWord();
    console.log("   Length of " + marker + " segment: " + length);
    reader.skip(length - 2);    
}
function parseUnsupportedSegment ( marker , reader ) { let length = reader . nextWord ( ) ; console . log ( "   Length of " + marker + " segment: " + length ) ; reader . skip ( length - 2 ) ; }
Process an segment we don't support.
Process an segment we don ' t support .
// Nothing to do, skip the segment // Length includes the 2 bytes that describe length