decode static method

Implementation

static XdrLiquidityPoolWithdrawResult decode(XdrDataInputStream stream) {
  XdrLiquidityPoolWithdrawResult decoded = XdrLiquidityPoolWithdrawResult(
      XdrLiquidityPoolWithdrawResultCode.decode(stream));
  switch (decoded.discriminant) {
    case XdrLiquidityPoolWithdrawResultCode.LIQUIDITY_POOL_WITHDRAW_SUCCESS:
      break;
    default:
      break;
  }
  return decoded;
}