Skip to content

Support 's' format #2

@timolson

Description

@timolson

I want to embed UUID's in my byte stream and used '16s' for that format, which is supported by struct, but netstruct complains about an unsupported format character. Other possible formats such as 'c' or 'B' return integers not a bytes object, which is what I need for deserialization back into a UUID. The only way I see to do what I want is to split my bytes by-hand and do partial parsing with netstruct and partial parsing on my own.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions