82 dataend = data + lenv;
105 const char *
path =
"dummy";
107 *stream_name =
new char [strlen(path) + 1];
108 strcpy(*stream_name, path);
121 curr = data + offset;
141 if(curr == dataend) {
159 if(curr == dataend) {
177 static char buf[BUFSIZ];
178 sprintf(buf,
"[MEM_STREAM %d]",
stream_len());
182 #endif // _MEM_STREAM_H
AMI_err name(char **stream_name)
AMI_err seek(off_t offset)
AMI_err write_item(const T &elt)
#define assert(condition)
AMI_err read_item(T **elt)
MEM_STREAM(T *data, int len)