class Mail::Encodings::Identity

:nodoc:
1 byte in -> 1 byte out.
Identity encodings do no encoding/decoding and have a fixed cost:

def self.cost(str)

1 output byte per input byte.
def self.cost(str)
  1.0
end

def self.decode(str)

:nodoc:
1 byte in -> 1 byte out.
Identity encodings do no encoding/decoding and have a fixed cost:
def self.decode(str)
  str
end

def self.encode(str)

def self.encode(str)
  str
end