OCFLZW Decompress
Project description
OCF LZW Decompress
Implements "OCF decompresion" as used by Cerner.
Python port of https://gist.github.com/pgodwin/7d66729444173146ad698d154f2b9b6c
from ocflzw_decompress.lzw import LzwDecompress
lzw = LzwDecompress()
uncompressed = lzw.decompress(blob_contents)
for bt in uncompressed:
uncompressed_text += chr(bt)
uncompressed_text = uncompressed_text.rstrip('\x00')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ocflzw-decompress-1.0.0.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for ocflzw_decompress-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4034f129f50e305b7aed0f04c65a40a86c531e186f6b5b35a7e35b8baae07c02 |
|
MD5 | 8f111e28c15137a5e65a19bf3d2f63c5 |
|
BLAKE2b-256 | d09704e351550a49d01223f7e56064f6d0a12c4e6e9403ccc540bb7d99af957a |