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;
        }