(bytearray)
return sum(len(_QUOPRI_BODY_MAP[octet]) for octet in bytearray)
Return a body quoted-printable encoding length.

    :param bytearray: An array of bytes (a.k.a. octets).
    :return: The length in bytes of the byte array when it is encoded with
        quoted-printable for bodies.
Return a body quoted-printable encoding length.
Return a body quoted - printable encoding length .
def body_length(bytearray):
    """Return a body quoted-printable encoding length.

    :param bytearray: An array of bytes (a.k.a. octets).
    :return: The length in bytes of the byte array when it is encoded with
        quoted-printable for bodies.
    """
    return sum(len(_QUOPRI_BODY_MAP[octet]) for octet in bytearray)
def body_length ( bytearray ) : return sum ( len ( _QUOPRI_BODY_MAP [ octet ] ) for octet in bytearray )