Skip to content

Remove the decompress code from the parse function #68

@rllola

Description

@rllola

This should be call only once where we read the stream of bytes and not repeated everywhere where we parse the payload.

let mut dec = snap::raw::Decoder::new();
let message = dec.decompress_vec(&payload).unwrap();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions