Initial update of comments to JSDoc format.
diff --git a/js/encoding/BinaryXMLDecoder.js b/js/encoding/BinaryXMLDecoder.js
index bf8597b..675a876 100644
--- a/js/encoding/BinaryXMLDecoder.js
+++ b/js/encoding/BinaryXMLDecoder.js
@@ -65,7 +65,9 @@
return null;
};
-//console.log(stringToTag(64));
+/**
+ * @constructor
+ */
var BinaryXMLDecoder = function BinaryXMLDecoder(input){
var MARK_LEN=512;
var DEBUG_MAX_LEN = 32768;
@@ -380,7 +382,7 @@
};
-/*
+/**
* Read a blob as well as the end element. Returns a Uint8Array (or null for missing blob).
* If the blob is missing and allowNull is false (default), throw an exception. Otherwise,
* just read the end element and return null.
@@ -564,9 +566,6 @@
return this.v;
};
-
-
-
BinaryXMLDecoder.prototype.readIntegerElement =function(
//String
startTag) {
@@ -580,7 +579,6 @@
return parseInt(strVal);
};
-
BinaryXMLDecoder.prototype.readUTF8Element =function(
//String
startTag,
@@ -594,8 +592,7 @@
return strElementText;
};
-
-/*
+/**
* Set the offset into the input, used for the next read.
*/
BinaryXMLDecoder.prototype.seek = function(