InputStream
class InputStream : Stream
-
A convenience fuction to read all available data from an input stream.
Declaration
Swift
func readAll() -> Data?
Return Value
The data read from the input stream,
nil
if there are no bytes available.