libp2p / cpp-libp2p

C++17 implementation of libp2p
Apache License 2.0
346 stars 97 forks source link

Remove ambiguous argument #203

Open turuslan opened 1 year ago

turuslan commented 1 year ago

read, readSome, write, writeSome accept both span { ptr, size } and size.
size argument is ambiguos and must be removed.