/** * Document-method: MessagePack::Unpacker#stream= * * call-seq: * unpacker.stream = stream * * Resets the input stream. You can set nil not to use input stream. */ static VALUE MessagePack_Unpacker_stream_set(VALUE self, VALUE val) { UNPACKER(self, mp); mp->user.stream = val; mp->user.stream_append_method = append_method_of(val); return val; }