module Mail::ParserTools

def chars(data, from_bytes, to_bytes)

def chars(data, from_bytes, to_bytes)
  data.slice(from_bytes..to_bytes).force_encoding(Encoding::UTF_8)
end

def chars(data, from_bytes, to_bytes)

def chars(data, from_bytes, to_bytes)
  data.slice(from_bytes..to_bytes)
end