Added a function feed_from to read form any type of buffer, not just strings
and read-only buffers.