Encode enhancement
Encode enhancement

For encoding a single object, it does not need to copy the object to make sure
that it won't be deleted by garbage collector.
In the case of encoding an array of buffers, a memory copy is still necessary.

scality/eclib,scality/eclib,scality/eclib,scality/eclib,scality/eclib