Register class and allocate an auto-grown ID for this class. NOTE : The registration order is important. If registration order is inconsistent, the allocated ID will be different, and the deserialization will failed !!! @param cls class to register.
(Class<?> cls)
| 43 | * @param cls class to register. |
| 44 | */ |
| 45 | void register(Class<?> cls); |
| 46 | |
| 47 | /** |
| 48 | * register class with given id. |
no outgoing calls