okio icon indicating copy to clipboard operation
okio copied to clipboard

BufferedSource.readUByte etc.

Open swankjesse opened this issue 5 years ago • 3 comments

https://blog.jetbrains.com/kotlin/2018/08/kotlin-1-3-m2/

swankjesse avatar Sep 23 '18 00:09 swankjesse

Would be nice if these were inline extension functions on reading a signed value and then "wrapping" it. That makes them zero overhead instead of actually requiring additional methods on the interface.

JakeWharton avatar Sep 23 '18 00:09 JakeWharton

Definitely. Plus that prevents us from cluttering the Java API.

swankjesse avatar Sep 23 '18 01:09 swankjesse

I'll look into this one unless there are any objections.

bnorm avatar Nov 09 '18 19:11 bnorm