Files
swift-nio/Sources
Johannes Weiss a8aaa263fe add missing @discardableResults in readWith* methods (#549)
Motivation:

ByteBuffer has a number of readWith* methods, some of them return the
`T` which was returned from the closure. This shouldn't be discardable.
Others however just return thr number of bytes read which should be
discardable.

Modifications:

made the readWith* functions that return the number of bytes read
@discardableResults

Result:

nicer user code
2018-08-03 09:05:19 +01:00
..
2017-12-15 09:50:12 +00:00
2018-03-19 14:45:32 +01:00