(bitstream, info)
| 26 | |
| 27 | |
| 28 | def write_bitstream(bitstream, info): |
| 29 | with bz2.open("myfile.bz2", "wb") as f: |
| 30 | # Write compressed data to file |
| 31 | unused = f.write(data) |
| 32 | with bz2.open("myfile.bz2", "rb") as f: |
| 33 | # Decompress data from file |
| 34 | content = f.read() |
nothing calls this directly
no outgoing calls
no test coverage detected