Skip to content

Custom length encoding #4

@VictorKoenders

Description

@VictorKoenders

Add a derive macro that allows the user to indicate what data type of the length encoding of a container can be. E.g.

#[derive(bincode_utils::ContainerDecode)]
struct Foo {
    #[bincode(length_type = u8)]
    binary_data: Vec<u8>
}

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