/** * Document-method: MessagePack::Unpacker#feed * * call-seq: * unpacker.feed(data) * * Fills the internal buffer with the specified buffer. */ static VALUE MessagePack_Unpacker_feed(VALUE self, VALUE data) { UNPACKER(self, mp); StringValue(data); feed_buffer(mp, RSTRING_PTR(data), RSTRING_LEN(data)); return Qnil; }