Beispiel #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);
 }
Beispiel #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));
            }
        }