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.
2.1m questions
2.1m answers
62 comments
56.6k users