Latest
Browser interest query
Test file is called index.html
diff --git a/latest/ExcludeComponent.js b/latest/ExcludeComponent.js
new file mode 100644
index 0000000..1eac988
--- /dev/null
+++ b/latest/ExcludeComponent.js
@@ -0,0 +1,21 @@
+
+/*
+ * _Body is an array of componenets
+ */
+var ExcludeComponent = function ExcludeComponent(_Body) {
+
+ //TODO Check BODY is an Array of componenets.
+
+ this.Body = _Body
+};
+
+ExcludeComponent.prototype.decode = function( decoder) {
+ body = decoder.readBinaryElement(this.getElementLabel());
+};
+
+ExcludeComponent.prototype.encode = function(encoder) {
+ encoder.writeElement(this.getElementLabel(), body);
+};
+
+ExcludeComponent.prototype.getElementLabel = function() { return CCNProtocolDTags.Component; };
+