function toStream input Deserializer deserializer; input Utilities.Stream.Stream ss; input Integer offset; output Integer newoffset; output Boolean success; end toStream;