Itenso.Rtf.Parser.RtfParser.ReadOneByte C# (CSharp) 메소드

ReadOneByte() 개인적인 정적인 메소드

private static ReadOneByte ( TextReader reader ) : int
reader TextReader
리턴 int
        private static int ReadOneByte( TextReader reader )
        {
            int byteValue = reader.Read();
            if ( byteValue == -1 )
            {
                throw new RtfUnicodeEncodingException( Strings.UnexpectedEndOfFile );
            }
            return byteValue;
        }