realize a buffer for binary data

support transform between object and binary data in the least copy times