Wie gzip ein bytearray in Python?

Habe ich binäre Daten in ein bytearray handeln, das möchte ich gzip ersten und dann per post Anfragen. Ich fand heraus, wie man gzip eine Datei, aber konnte nicht finden, dass es sich um ein bytearray. Also, wie kann ich gzip ein bytearray via Python?

InformationsquelleAutor Canol Gökel | 2014-11-05
Schreibe einen Kommentar