bytes
. The bytes
are not consumed from the array or modified in any way. The resulting object instance is cast to the expected type.
@param serializedObject the instance describing the type of object and the bytes providing the serialized data
@param < S> The data type of the serialized object
@param < T> The expected deserialized type
@return the serialized object, cast to the expected type
@throws ClassCastException if the first object in the stream is not an instance of <T>.
|
|
|
|