Skip to content

Conversation

@tikste
Copy link

@tikste tikste commented Mar 17, 2024

Hi,

I need to get a reference of a portion of the underlying data of a Ring and consume it at the same time for seamless support of zero-copy parsing.

It could be implemented in trait SeqRead instead. In this case one should call self.consume(len) in line 96.

Regards,
Till

Copy link
Owner

@kalamay kalamay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the contribution!

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

Successfully merging this pull request may close these issues.

2 participants