removed encoding, already bytearray