Skip to content

Automatic Checksum Re-Calcs #36

@ImVexed

Description

@ImVexed

Hello,

I'm facing an issue with determining whether a packet's checksums need recalculation after modifications. Currently, the only options are:

  • Manually triggering recalculation in every code path where the packet changes, which becomes repetitive and error-prone with complex logic.
  • Always recalculating all checksums before serialization, which incurs unnecessary performance overhead.

Is there a way to implement automatic checksum recalculation, similar to libraries like PyPacker? For example, by tracking field modifications and recalculating only the affected layer's checksum when changes occur?

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