protected Number getUnversionedDoubleOrLong ( CodedInputStream in ) throws IOException { byte type = in . readRawByte ( ) ; if ( type == Constants . B_DOUBLE ) return in . readDouble ( ) ; else return in . readRawVarint64 ( ) ; }
read out a type - specified number .