add blob tag
[ecparse.git] / BlobTag.h
diff --git a/BlobTag.h b/BlobTag.h
new file mode 100644 (file)
index 0000000..5a9963b
--- /dev/null
+++ b/BlobTag.h
@@ -0,0 +1,23 @@
+/**
+ * © 2008 by David Roden <droden@gmail.com>
+ */
+
+#pragma once
+
+#include "Tag.h"
+
+class BlobTag: public Tag {
+
+public:
+       BlobTag(int id, void* value, int length);
+       ~BlobTag();
+
+       int getSize();
+       void* getValue();
+
+private:
+       int length;
+       void* value;
+
+};
+