Enable creating Pickle from Buffer.
Add iterator support.