decode static method
Implementation
static XdrLiquidityPoolType decode(XdrDataInputStream stream) {
int value = stream.readInt();
switch (value) {
case 0:
return LIQUIDITY_POOL_CONSTANT_PRODUCT;
default:
throw Exception("Unknown enum value: $value");
}
}