/**
 * Document-method: MessagePack::Unpacker#reset
 *
 * call-seq:
 *   unpacker.reset
 *
 * Resets the internal state of the unpacker.
 */
static VALUE MessagePack_Unpacker_reset(VALUE self)
{
        UNPACKER(self, mp);
        template_init(mp);
        mp->user.finished = 0;
        return self;
}