iTextSharp.text.pdf.PRTokeniser.CheckObjectStart C# (CSharp) Метод

CheckObjectStart() публичный статический Метод

public static CheckObjectStart ( byte line ) : int[]
line byte
Результат int[]
        public static int[] CheckObjectStart(byte[] line) {
            try {
                PRTokeniser tk = new PRTokeniser(line);
                int num = 0;
                int gen = 0;
                if (!tk.NextToken() || tk.TokenType != TK_NUMBER)
                    return null;
                num = tk.IntValue;
                if (!tk.NextToken() || tk.TokenType != TK_NUMBER)
                    return null;
                gen = tk.IntValue;
                if (!tk.NextToken())
                    return null;
                if (!tk.StringValue.Equals("obj"))
                    return null;
                return new int[]{num, gen};
            }
            catch {
            }
            return null;
        }