diff --git a/HISTORY.md b/HISTORY.md index 1a290ca..9df1581 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # Release history +## v0.2.11 +Added a method on Gordon's Stream class to retrieve remaining buffer data +Removed irrelevant comment + ## v0.2.10 Framerate value in exported meta data is now matching original files framerate Jeff version in exported meta data is now dynamic diff --git a/package.json b/package.json index 652ac4f..da20bf0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jeff", "description": "Extracts Json meta-data and images from a SWF Flash file.", - "version": "0.2.10", + "version": "0.2.11", "private": false, "author": { "name": "Brice Chevalier", diff --git a/src/Gordon/parser.js b/src/Gordon/parser.js index 4aa7805..5b5a420 100644 --- a/src/Gordon/parser.js +++ b/src/Gordon/parser.js @@ -72,7 +72,6 @@ SwfParser.prototype = { // exported, otherwise the number of exported classes can be really high. // However this function should not appear in this component as it is meant // to extract regular swf files. - // It should possible to determine the symbols of the swl table from the dofus database // Special table at the head of a ".swl" file; we did not find why this is useful... // Maybe to be able to easily look for which symbols are defined in a .swf without diff --git a/src/Gordon/stream.js b/src/Gordon/stream.js index 184ecb2..90c36ca 100644 --- a/src/Gordon/stream.js +++ b/src/Gordon/stream.js @@ -315,6 +315,10 @@ module.exports = Stream; self._nBytes = self._buffer.length; whenDone(); }); + }, + + getRemainingData: function () { + return this._buffer.slice(this.offset); } }; })();