Files
swift-nio/Sources/NIO
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
..
2018-07-05 19:18:00 +01:00
2018-03-19 14:43:38 +01:00
2018-08-01 15:57:27 +01:00
2018-08-01 15:57:27 +01:00