# # $Id: noophandler.icn,v 1.1 2004/02/12 17:07:56 rparlett Exp $ # package mail # # Handles the 8bit, 7bit and binary encoding types, by doing nothing. # class NoOpHandler:EncodingHandler() method can_handle(enc) return map(enc) == ("7bit" | "8bit" | "binary") end method decode_data(m, data) return data end method encode_data(m, data) return data end end