* make the buffer growable * expose internal buffer directly as return value this should make the marshal to bytes same as the standard library. Right now it is allocating more memory than standard library.