Return a new bytearray object from any object, o, that implements the buffer protocol.
Bytes Objects
Unicode Objects and Codecs