function next input Deserializer deserializer; input Integer offset; output Boolean success; output Integer newoffset; end next;