Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abrasat opened this issue Sep 4, 2023 · 0 comments

Comments

@abrasat
Copy link

abrasat commented Sep 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant