Sha256: b7a35d12eea68fe0e3fe051df25b97e2ca74db419e329e05b899ac664c4e5b9c
Contents?: true
Size: 476 Bytes
Versions: 63
Compression:
Stored size: 476 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true require 'mail/encodings/transfer_encoding' module Mail module Encodings # Identity encodings do no encoding/decoding and have a fixed cost: # 1 byte in -> 1 byte out. class Identity < TransferEncoding #:nodoc: def self.decode(str) str end def self.encode(str) str end # 1 output byte per input byte. def self.cost(str) 1.0 end end end end
Version data entries
63 entries across 49 versions & 13 rubygems