decode method Null safety
- XdrDataInputStream stream
Implementation
static XdrSCSpecUDTUnionCaseTupleV0 decode(XdrDataInputStream stream) {
String doc = stream.readString();
String name = stream.readString();
XdrSCSpecTypeDef? typ;
int typePresent = stream.readInt();
if (typePresent != 0) {
typ = XdrSCSpecTypeDef.decode(stream);
}
return XdrSCSpecUDTUnionCaseTupleV0(doc, name, typ);
}