I get in my function message array of bytes and type of object, I need to restore object from bytes. Is there in Java any cast like in C++ ?
No, you can use serialization instead.
1.4m articles
1.4m replys
5 comments
57.0k users