Skip to content

Programmatically access local offsets (actually tracked in events) also after the serialization #227

@abrasat

Description

@abrasat

During the serialization, the events OnMemberSerializing, OnMemberSerialized return also the information about the offset of each property inside the stream generated during the serialization ( #67 ). Is it possible to get programmatically the stream offsets for the different properties from the c# classes after being serialized? I mean something like a GetOffset(nameof(xxx). Or maybe add an option to the Serialize() method to generate a dictionary during the serialization, having the property path as key and the offset inside the serialized stream as value

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