Reads a value from the stream using Java semantics.
Returns:
the value read from the stream.
Parameters:
-
in - the stream to read the value from.
-
offset - the current position in the input stream.
-
clz - the type of the value to be read in.
-
repositoryID - the RepositoryId of the value to be read in.
-
sender - the sending context runtime codebase.