Yes, that makes sense. Except maybe for String.Buffer, which should end up as a string type. Will add that.
One other internal API which could be quite useful is the creation of subbuffers. At least for _this_ particular case.
On 11/23/15 20:00, Per Hedbor () @ Pike (-) developers forum wrote:
One detail in the actual mpack code: In the encoder case for PIKE_T_OBJECT, perhaps it would be a good idea to support all the buffer classes, and not only Stdio.Buffer.
Basically, use get_memory_object_memory instead?