blob-types.h
1 
21 #ifndef NDN_BLOB_TYPES_H
22 #define NDN_BLOB_TYPES_H
23 
24 #include "../common.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 struct ndn_Blob {
34  const uint8_t *value;
35  size_t length;
36 };
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif
size_t length
the number of bytes in value.
Definition: blob-types.h:35
const uint8_t * value
pointer to the pre-allocated buffer for the value.
Definition: blob-types.h:34
Copyright (C) 2015-2016 Regents of the University of California.
Definition: blob-types.h:33