Skip to content

Implement VarintRead and VarintWrite for all readers and writers (resp.)#5

Open
nham wants to merge 2 commits intoTechern-archived:masterfrom
nham:add_impl
Open

Implement VarintRead and VarintWrite for all readers and writers (resp.)#5
nham wants to merge 2 commits intoTechern-archived:masterfrom
nham:add_impl

Conversation

@nham
Copy link
Copy Markdown

@nham nham commented Nov 30, 2015

No description provided.

@CruzBishop
Copy link
Copy Markdown
Member

Thank you for this :) I'm not at my usual computer at the moment but I'll review it properly and make any changes (if required) through the week

@nham
Copy link
Copy Markdown
Author

nham commented Dec 19, 2015

Thinking about this again, is there any impediment to just doing:

impl<T> VarintRead for T where T: Read { }
impl<T> VarintWrite for T where T: Write { }

I've updated it to this in the PR, and it seems to be working fine.

@nham nham changed the title Add impl of VarintRead for &[u8] Implement VarintRead and VarintWrite for all readers and writers (resp.) Dec 19, 2015
@CruzBishop
Copy link
Copy Markdown
Member

Sorry about this taking so long; I've just updated this in IoOperations so I'll merge this in while #4 is being worked on

@koliyo
Copy link
Copy Markdown

koliyo commented Jun 30, 2023

What happened to this PR?

@koliyo
Copy link
Copy Markdown

koliyo commented Jun 30, 2023

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.

3 participants