Exemplo n.º 1
0
 public static object ReadNumericLeaf(LeImageReader rdr)
 {
     var b = rdr.PeekByte(0);
     if (0 <= b && b <= 0x7F)
         return rdr.ReadByte();
     else
         return ReadLeaf(rdr);
 }
Exemplo n.º 2
0
        public static object ReadNumericLeaf(LeImageReader rdr)
        {
            var b = rdr.PeekByte(0);

            if (0 <= b && b <= 0x7F)
            {
                return(rdr.ReadByte());
            }
            else
            {
                return(ReadLeaf(rdr));
            }
        }