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

Can't write to uninitialized bytes #4

Closed
sdroege opened this issue Jan 7, 2024 · 1 comment
Closed

Can't write to uninitialized bytes #4

sdroege opened this issue Jan 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sdroege
Copy link
Collaborator

sdroege commented Jan 7, 2024

RtpPacketBuilder::write_into() requires a mutable slice. Unfortunately, a mutable slice always has to be initialized completely, which is suboptimal here.

Generally, some API around Writer might be nice to have.

@ystreet
Copy link
Owner

ystreet commented Jan 19, 2024

Immediately fixed by #6.

Trait version can be implemented later.

@ystreet ystreet closed this as completed Jan 19, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants