set_data in barcode for cstring-buffers