![]() |
genspect::aterm_blob —
class aterm_blob : public genspect::aterm { public: // construct/copy/destruct aterm_blob(ATermBlob); aterm_blob(unsigned int, void *); // public member functions void * data(); unsigned int size() const; };
aterm_blob(ATermBlob t);
aterm_blob(unsigned int size, void * data);
Build a Binary Large OBject given size (in bytes) and data. This function can be used to create an aterm of type blob, holding the data pointed to by data. No copy of this data area is made, so the user should allocate this himself. Note: due to the internal representation of a blob, size cannot exceed 224 in the current implementation. This limits the size of the data area to 16 Mb.
Copyright © 2004 Wieger Wesselink |