A user-written exit routine that receives a single value and encodes or decodes it as specified by the user.