| * See COPYING for copyright and distribution information. |
| * An ndn_Blob holds a pointer to a read-only pre-allocated buffer and its length. |
| unsigned char *value; /**< pointer to the pre-allocated buffer for the value. Must be treated as read only. */ |
| unsigned int valueLength; /**< the number of bytes in value. */ |
| * Initialize the ndn_Blob struct with the given value. |
| * @param self pointer to the ndn_Blob struct. |
| * @param value The pre-allocated buffer for the value, or 0 for none. |
| * @param valueLength The number of bytes in value. |
| static inline void ndn_Blob_initialize(struct ndn_Blob *self, unsigned char *value, unsigned int valueLength) |
| self->valueLength = valueLength; |