class Mail::Encodings::Binary - mail-2.5.4 Documentation

# class Mail::Encodings::Binary

### Constants

NAME
PRIORITY

### Public Class Methods

cost(str) click to toggle source

Idenity encodings have a fixed cost, 1 byte out per 1 byte in

    # File lib/mail/encodings/binary.rb, line 23
    def self.cost(str)
      1.0
    end

decode(str) click to toggle source

Decode the string

    # File lib/mail/encodings/binary.rb, line 13
    def self.decode(str)
      str
    end

encode(str) click to toggle source

Encode the string

    # File lib/mail/encodings/binary.rb, line 18
    def self.encode(str)
      str
    end