@Override
public void write(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeBinary(struct.unscaled);
oprot.writeI16(struct.scale);
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;