Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Custom length encoding #4

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