parameters: (bytearray)
return_statement: return sum(len(_QUOPRI_HEADER_MAP[octet]) for octet in bytearray)
docstring: Return a header quoted-printable encoding length.
  
      Note that this does not include any RFC 2047 chrome added by
      `header_encode()`.
  
      :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 headers.
docstring_summary: Return a header quoted-printable encoding length.
docstring_tokens: Return a header quoted - printable encoding length .
function: def header_length(bytearray):
      """Return a header quoted-printable encoding length.
  
      Note that this does not include any RFC 2047 chrome added by
      `header_encode()`.
  
      :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 headers.
      """
      return sum(len(_QUOPRI_HEADER_MAP[octet]) for octet in bytearray)
function_tokens: def header_length ( bytearray ) : return sum ( len ( _QUOPRI_HEADER_MAP [ octet ] ) for octet in bytearray )