コード例 #1
0
 /// <summary>
 /// Adds given bytes to the list of bytes of this node.
 /// </summary>
 /// <param name="bytes">The list of bytes to add/append.</param>
 /// <returns>This node itself.</returns>
 public CodeNode Add(params byte[] bytes)
 {
     foreach (byte b in bytes)
     {
         Bytes.AddLast(b);
     }
     return(this);
 }
コード例 #2
0
 /// <summary>
 /// Adds given bytes to the list of bytes of this node.
 /// </summary>
 /// <param name="bytes">The list of bytes to add/append.</param>
 /// <returns>This node itself.</returns>
 public CodeNode Add(LinkedList <byte> bytes)
 {
     foreach (byte b in bytes)
     {
         Bytes.AddLast(b);
     }
     return(this);
 }