public byte[] GetBytes(GenericProtocol pNode)
 {
     using (var dataOutput = new DataOutputStream())
     {
         Write(pNode, pNode.Index, dataOutput);
         return(dataOutput.ToArray());
     }
 }