decode static method
Implementation
static XdrSCSpecUDTUnionCaseV0 decode(XdrDataInputStream stream) {
XdrSCSpecUDTUnionCaseV0 decoded =
XdrSCSpecUDTUnionCaseV0(XdrSCSpecUDTUnionCaseV0Kind.decode(stream));
switch (decoded.discriminant) {
case XdrSCSpecUDTUnionCaseV0Kind.SC_SPEC_UDT_UNION_CASE_VOID_V0:
decoded.voidCase = XdrSCSpecUDTUnionCaseVoidV0.decode(stream);
break;
case XdrSCSpecUDTUnionCaseV0Kind.SC_SPEC_UDT_UNION_CASE_TUPLE_V0:
decoded.tupleCase = XdrSCSpecUDTUnionCaseTupleV0.decode(stream);
break;
}
return decoded;
}