The streaming read functionality should provide the length and the type of the object, like the normal read functionality does.