22 #ifndef NDN_UTIL_CONCEPTS_HPP
23 #define NDN_UTIL_CONCEPTS_HPP
25 #include <boost/concept/usage.hpp>
26 #include "../encoding/block.hpp"
27 #include "../encoding/encoding-buffer.hpp"
39 Block block = j.wireEncode();
56 size_t estimatedSize = j.wireEncode(estimator);
59 j.wireEncode(encoder);
91 size_t size = hash.DigestSize();
93 hash.Update(buf, size);
101 #endif // NDN_UTIL_CONCEPTS_HPP
Copyright (c) 2013-2016 Regents of the University of California.
EncodingImpl< EstimatorTag > EncodingEstimator
BOOST_CONCEPT_USAGE(Hashable)
BOOST_CONCEPT_USAGE(WireDecodable)
Class representing a wire element of NDN-TLV packet format.
a concept check for TLV abstraction with .wireEncode method
EncodingImpl< EncoderTag > EncodingBuffer
BOOST_CONCEPT_USAGE(WireEncodable)
BOOST_CONCEPT_USAGE(WireEncodableWithEncodingBuffer)
a concept check for TLV abstraction with .wireEncode method
a concept check for TLV abstraction with .wireDecode method and constructible from Block ...
a concept check for CryptoPP hash algorithm