:encode, :decode commands