private void Write(GenericProtocol pNode, int pIndex, IStreamOutput pOutput) { if (ByteData != null) { pOutput.Write(ByteData); } pOutput.WriteShort((short)pIndex); // Rekursive Methode: Write((object)pNode, pIndex, pOutput); }