in fix/core/src/main/java/deltix/connector/fix/FixUtil.java [202:219]
public static Side getSide(byte side) {
switch (side) {
case deltix.efix.message.field.Side.BUY:
return Side.BUY;
case deltix.efix.message.field.Side.SELL:
return Side.SELL;
case deltix.efix.message.field.Side.SELL_SHORT:
return Side.SELL_SHORT;
case deltix.efix.message.field.Side.SELL_SHORT_EXEMPT:
return Side.SELL_SHORT_EXEMPT;
}
if (side != TypeConstants.BYTE_NULL) {
throw new IllegalArgumentException("Unsupported side: " + side);
}
return null;
}