@classmethod
def unpack(cls, msg):
    """Construct an _OpReply from raw bytes."""
    flags, cursor_id, _, number_returned = cls.UNPACK_FROM(msg)
    documents = bytes(msg[20:])
    return cls(flags, cursor_id, number_returned, documents)
