'Decode from wire format, saving flags, values and records to this
L{_EDNSMessage} instance in place.
@param bytes: The full byte string to be decoded.
@type bytes: L{bytes}'

def fromStr(self, bytes):

    m = self._messageFactory()
    m.fromStr(bytes)
    ednsMessage = self._fromMessage(m)
    for attrName in self.compareAttributes:
        setattr(self, attrName, getattr(ednsMessage, attrName))
