summaryrefslogtreecommitdiff
path: root/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Types.h b/Types.h
index 1abb352..ddb464b 100644
--- a/Types.h
+++ b/Types.h
@@ -102,6 +102,12 @@ public:
return *this;
}
+ Blob ( uint64_t a, uint64_t b )
+ {
+ uint64_t t[2] = {a,b};
+ set(&t,16);
+ }
+
void set ( const void * blob, int len )
{
const uint8_t * k = (const uint8_t*)blob;