Read the value type. The method is responsible both
for creating a new instance of the value type and
reading the content of this nstance from the stream.
Parameters:
from_stream - a stream to read from.
Returns:
a created value type, intialised with the data from
the stream.