Skip to content

Variable length data #8

@MarkJeronimus

Description

@MarkJeronimus

I need an option to designate one or more bytes as a length, and then parse the following N bytes as the data.

For example:
30 00 05 aa bb cc dd ee 4f
30 00 01 ff d8
->
ID:30 LEN:0005 DATA:aabbccddeeff CRC:4f
ID:30 LEN:0001 DATA:ff CRC:d8

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions