Invert the description of encode

The summary of `encode` was the same as `decode`