I am using Python 2.7 to decode base64 data, and I do not understand why base64.b64decode returns a string? How to get binary data that is decoded? I would think base64.b64decode will return an array of bytes. Here is a link to python docs for base64: http://docs.python.org/2/library/base64.html
Thanks for the help!
In 2.xa, bytestring is binary data, represented primarily in printed form. And it does not require additional modules for support.
bytearray , .
b64decode() str, Python 2.7.
, , , b64decode() bytearray, , b64decode() , bytearrays - str, str ; -)