Skip to content

[Enhancement]: Return error instead of panicking for missing bytes #26

@Norbiros

Description

@Norbiros

The bytes crate currently panics when there aren't enough bytes available. It would be better to check the byte count beforehand and return a more user-friendly error instead of panicking.

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