encoding: Fixing Block (and as a result Name) encoding bugs

As of this commit, all non-const operations on Block will call resetWire
to remove all references to the wire, so it will be recreated next time
"encode" method is called.  Also, all getter methods now have only const
versions and non-const access to the internal data structure is
prohibited.

Change-Id: If4b485dd62541d9d4d168a44490068e4deff56c1
19 files changed
tree: 78762794f5c469c96d32e166da40c0d34f12a018
  1. .waf-tools/
  2. examples/
  3. src/
  4. tests/
  5. tools/
  6. .gitignore
  7. .travis.yml
  8. AUTHORS
  9. CHANGELOG
  10. COPYING
  11. Doxyfile
  12. INSTALL.md
  13. libndn-cpp-dev.pc.in
  14. README.md
  15. waf
  16. wscript
README.md

NDN-CPP-dev: A dev version of Named Data Networking client library for C++

NDN-CPP is a new implementation of a Named Data Networking client library written in C++.

NDN-CPP is open source under a license described in the file COPYING. While the license does not require it, we really would appreciate it if others would share their contributions to the library if they are willing to do so under the same license.

See the file INSTALL for build and install instructions.

Please submit any bugs or issues to the NDN-CPP issue tracker: http://redmine.named-data.net/projects/ndn-cpp/issues