{
byte[] data = new byte[16];
ByteBuffer buf = ByteBuffer.wrap(data);
buf.putLong(d.getMostSignificantBits());
buf.putLong(d.getLeastSignificantBits());
pn_decimal128_t decimal128_t = new pn_decimal128_t();
decimal128_t.setBytes(data);
Proton.pn_data_put_decimal128(_impl,decimal128_t);
}