コード例 #1
0
ファイル: Name.cs プロジェクト: named-data/ndn-dot-net
 /// <summary>
 /// Decode the input using a particular wire format and update this Name.
 /// </summary>
 ///
 /// <param name="input">The input blob to decode.</param>
 /// <param name="wireFormat">A WireFormat object used to decode the input.</param>
 /// <exception cref="EncodingException">For invalid encoding.</exception>
 public void wireDecode(Blob input, WireFormat wireFormat)
 {
     wireFormat.decodeName(this, input.buf(), false);
 }
コード例 #2
0
ファイル: Name.cs プロジェクト: named-data/ndn-dot-net
 /// <summary>
 /// Decode the input using a particular wire format and update this Name.
 /// </summary>
 ///
 /// <param name="input"></param>
 /// <param name="wireFormat">A WireFormat object used to decode the input.</param>
 /// <exception cref="EncodingException">For invalid encoding.</exception>
 public void wireDecode(ByteBuffer input, WireFormat wireFormat)
 {
     wireFormat.decodeName(this, input, true);
 }