Public Attributes | List of all members
ndn_Blob Struct Reference

Copyright (C) 2015-2016 Regents of the University of California. More...

#include <blob-types.h>

Inheritance diagram for ndn_Blob:
ndn::BlobLite

Public Attributes

const uint8_t * value
 pointer to the pre-allocated buffer for the value. More...
 
size_t length
 the number of bytes in value. More...
 

Detailed Description

Copyright (C) 2015-2016 Regents of the University of California.

Author
: Jeff Thompson jefft.nosp@m.0@re.nosp@m.map.u.nosp@m.cla..nosp@m.edu

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version, with the additional exemption that compiling, linking, and/or using OpenSSL is allowed.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/. A copy of the GNU Lesser General Public License is in the file COPYING. An ndn_Blob holds a pointer to a read-only pre-allocated buffer and its length.

Member Data Documentation

size_t ndn_Blob::length

the number of bytes in value.

const uint8_t* ndn_Blob::value

pointer to the pre-allocated buffer for the value.

Must be treated as read only.


The documentation for this struct was generated from the following file: