Expand description
Handling of blobs that may be compressed, based on an 8-byte magic identifier at the head.
Enums§
- Error
- A possible bomb was encountered.
Constants§
- CODE_
BLOB_ BOMB_ LIMIT - A recommendation for the bomb limit for code blobs.
Functions§
- compress
Deprecated - Compress a blob who’s size is limited by
bomb_limit. - compress_
strongly - Strongly compress a blob who’s size is limited by
bomb_limit. - compress_
weakly - Weakly compress a blob who’s size is limited by
bomb_limit. - decompress
- Decode a blob, if it indicates that it is compressed. Provide a
bomb_limit, which is the limit of bytes which should be decompressed from the blob.