encode

Converts the provided data to a String on success, null otherwise.