Renci.SshNet.ScpClient.ReadByte C# (CSharp) Метод

ReadByte() приватный статический Метод

private static ReadByte ( Stream stream ) : int
stream Stream
Результат int
        private static int ReadByte(Stream stream)
        {
            var b = stream.ReadByte();
            if (b == -1)
                throw new SshException("Stream has been closed.");
            return b;
        }