question: protected Object readFixedType ( BinaryReaderExImpl reader ) throws BinaryObjectException { Object val = null ; switch ( mode ) { case BYTE : val = reader . readByteNullable ( id ) ; break ; case SHORT : val = reader . readShortNullable ( id ) ; break ; case INT : val = reader . readIntNullable ( id ) ; break ; case LONG : val = reader . readLongNullable ( id ) ; break ; case FLOAT : val = reader . readFloatNullable ( id ) ; break ; case DOUBLE : val = reader . readDoubleNullable ( id ) ; break ; case CHAR : val = reader . readCharNullable ( id ) ; break ; case BOOLEAN : val = reader . readBooleanNullable ( id ) ; break ; case DECIMAL : val = reader . readDecimal ( id ) ; break ; case STRING : val = reader . readString ( id ) ; break ; case UUID : val = reader . readUuid ( id ) ; break ; case DATE : val = reader . readDate ( id ) ; break ; case TIMESTAMP : val = reader . readTimestamp ( id ) ; break ; case BYTE_ARR : val = reader . readByteArray ( id ) ; break ; case SHORT_ARR : val = reader . readShortArray ( id ) ; break ; case INT_ARR : val = reader . readIntArray ( id ) ; break ; case LONG_ARR : val = reader . readLongArray ( id ) ; break ; case FLOAT_ARR : val = reader . readFloatArray ( id ) ; break ; case DOUBLE_ARR : val = reader . readDoubleArray ( id ) ; break ; case CHAR_ARR : val = reader . readCharArray ( id ) ; break ; case BOOLEAN_ARR : val = reader . readBooleanArray ( id ) ; break ; case DECIMAL_ARR : val = reader . readDecimalArray ( id ) ; break ; case STRING_ARR : val = reader . readStringArray ( id ) ; break ; case UUID_ARR : val = reader . readUuidArray ( id ) ; break ; case DATE_ARR : val = reader . readDateArray ( id ) ; break ; case TIMESTAMP_ARR : val = reader . readTimestampArray ( id ) ; break ; case OBJECT_ARR : val = reader . readObjectArray ( id ) ; break ; case COL : val = reader . readCollection ( id , null ) ; break ; case MAP : val = reader . readMap ( id , null ) ; break ; case BINARY_OBJ : val = reader . readBinaryObject ( id ) ; break ; case ENUM : val = reader . readEnum ( id , field . getType ( ) ) ; break ; case ENUM_ARR : val = reader . readEnumArray ( id , field . getType ( ) . getComponentType ( ) ) ; break ; case BINARY : case OBJECT : val = reader . readObject ( id ) ; break ; case CLASS : val = reader . readClass ( id ) ; break ; default : assert false : "Invalid mode: " + mode ; } return val ; }
target:  Reads fixed type from the given reader with flags validation.