Reads a byte from a pipe.
The byte, cast to int, or -1 indicates the end of the stream (the pipe has been closed).
Use the PipeStream.CanRead property to determine whether the current System.IO.Pipes.PipeStream object supports read operations.