readFile( arraybuffer, path ) {

			const data = new DataView( arraybuffer );
			const chunk = this.readChunk( data );

			if ( chunk.id === MLIBMAGIC || chunk.id === CMAGIC || chunk.id === M3DMAGIC ) {

				let next = this.nextChunk( data, chunk );

				while ( next !== 0 ) {

					if ( next === M3D_VERSION ) {

						const version = this.readDWord( data );
						this.debugMessage( '3DS file version: ' + version );

					} else if ( next === MDATA ) {

						this.resetPosition( data );
						this.readMeshData( data, path );

					} else {

						this.debugMessage( 'Unknown main chunk: ' + next.toString( 16 ) );

					}

					next = this.nextChunk( data, chunk );

				}

			}

			this.debugMessage( 'Parsed ' + this.meshes.length + ' meshes' );

		}
Decode file content to read 3ds data.

@method readFile
@param {ArrayBuffer} arraybuffer Arraybuffer data to be loaded.
@param {String} path Path for external resources.