Skip to content
This repository was archived by the owner on Jun 12, 2019. It is now read-only.
This repository was archived by the owner on Jun 12, 2019. It is now read-only.

Using Python lz4 libraries, getting frameType_unknown #4

@bvelasquez

Description

@bvelasquez

Python 3.6
lzframed: https://github.com/Iotic-Labs/py-lz4framed

https://pypi.python.org/pypi/lz4

Tried to decompress() with both of these libraries and I get a frameType unknown error.

let json = try? JSONSerialization.data(withJSONObject: sendData)
deflated = try! json?.compress(algorithm: .lz4, bufferSize: 65535)

Python side:

inflated = lz4.frame.decompress(data)

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions