encode_binary_data_with_placeholder