Jeff Thompson | 47eecfc | 2013-07-07 22:56:46 -0700 | [diff] [blame] | 1 | /** |
| 2 | * @author: Jeff Thompson |
| 3 | * See COPYING for copyright and distribution information. |
Jeff Thompson | 9c41dfe | 2013-06-27 12:10:25 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <stdexcept> |
| 7 | #include "WireFormat.hpp" |
| 8 | |
| 9 | using namespace std; |
| 10 | |
| 11 | namespace ndn { |
| 12 | |
Jeff Thompson | d345a5b | 2013-07-08 16:18:23 -0700 | [diff] [blame] | 13 | void WireFormat::encodeName(const Name &name, vector<unsigned char> &output) |
Jeff Thompson | 9c41dfe | 2013-06-27 12:10:25 -0700 | [diff] [blame] | 14 | { |
| 15 | throw logic_error("unimplemented"); |
| 16 | } |
Jeff Thompson | 4238071 | 2013-06-28 10:59:33 -0700 | [diff] [blame] | 17 | void WireFormat::decodeName(Name &name, const unsigned char *input, unsigned int inputLength) |
Jeff Thompson | 9c41dfe | 2013-06-27 12:10:25 -0700 | [diff] [blame] | 18 | { |
| 19 | throw logic_error("unimplemented"); |
| 20 | } |
| 21 | |
Jeff Thompson | d345a5b | 2013-07-08 16:18:23 -0700 | [diff] [blame] | 22 | void WireFormat::encodeInterest(const Interest &interest, vector<unsigned char> &output) |
Jeff Thompson | 9c41dfe | 2013-06-27 12:10:25 -0700 | [diff] [blame] | 23 | { |
| 24 | throw logic_error("unimplemented"); |
| 25 | } |
Jeff Thompson | 4238071 | 2013-06-28 10:59:33 -0700 | [diff] [blame] | 26 | void WireFormat::decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength) |
Jeff Thompson | 9c41dfe | 2013-06-27 12:10:25 -0700 | [diff] [blame] | 27 | { |
| 28 | throw logic_error("unimplemented"); |
| 29 | } |
| 30 | |
Jeff Thompson | 5cae5e5 | 2013-07-10 19:41:20 -0700 | [diff] [blame] | 31 | void WireFormat::encodeContentObject(const ContentObject &contentObject, vector<unsigned char> &output) |
| 32 | { |
| 33 | throw logic_error("unimplemented"); |
| 34 | } |
| 35 | void WireFormat::decodeContentObject(ContentObject &contentObject, const unsigned char *input, unsigned int inputLength) |
| 36 | { |
| 37 | throw logic_error("unimplemented"); |
| 38 | } |
| 39 | |
Jeff Thompson | 9c41dfe | 2013-06-27 12:10:25 -0700 | [diff] [blame] | 40 | } |