(s)
return b"".join(pieces)
Encode a bytestring into a bytes object containing multiple lines
    of base-64 data.
Encode a bytestring into a bytes object containing multiple lines
    of base-64 data.
Encode a bytestring into a bytes object containing multiple lines of base - 64 data .
def encodebytes(s):
    """Encode a bytestring into a bytes object containing multiple lines
    of base-64 data."""
    _input_type_check(s)
    pieces = []
    for i in range(0, len(s), MAXBINSIZE):
        chunk = s[i : i + MAXBINSIZE]
        pieces.append(binascii.b2a_base64(chunk))
    return b"".join(pieces)
def encodebytes ( s ) : _input_type_check ( s ) pieces = [ ] for i in range ( 0 , len ( s ) , MAXBINSIZE ) : chunk = s [ i : i + MAXBINSIZE ] pieces . append ( binascii . b2a_base64 ( chunk ) ) return b"" . join ( pieces )