public static void Encode(IByteWriter stream, DataEntryExt encodedDataEntryExt) { XdrEncoding.EncodeInt32(encodedDataEntryExt.Discriminant, stream); switch (encodedDataEntryExt.Discriminant) { case 0: break; } }
public static void Encode(XdrDataOutputStream stream, DataEntry encodedDataEntry) { AccountID.Encode(stream, encodedDataEntry.AccountID); String64.Encode(stream, encodedDataEntry.DataName); DataValue.Encode(stream, encodedDataEntry.DataValue); DataEntryExt.Encode(stream, encodedDataEntry.Ext); }
public static void Encode(IByteWriter stream, DataEntry encodedDataEntry) { AccountID.Encode(stream, encodedDataEntry.AccountID); String64.Encode(stream, encodedDataEntry.DataName); DataValue.Encode(stream, encodedDataEntry.DataValue); DataEntryExt.Encode(stream, encodedDataEntry.Ext); }
public static void Encode(XdrDataOutputStream stream, DataEntryExt encodedDataEntryExt) { stream.WriteInt((int)encodedDataEntryExt.Discriminant); switch (encodedDataEntryExt.Discriminant) { case 0: break; } }
public static DataEntryExt Decode(IByteReader stream) { DataEntryExt decodedDataEntryExt = new DataEntryExt(); decodedDataEntryExt.Discriminant = XdrEncoding.DecodeInt32(stream); switch (decodedDataEntryExt.Discriminant) { case 0: break; } return decodedDataEntryExt; }
public static DataEntry Decode(XdrDataInputStream stream) { DataEntry decodedDataEntry = new DataEntry(); decodedDataEntry.AccountID = AccountID.Decode(stream); decodedDataEntry.DataName = String64.Decode(stream); decodedDataEntry.DataValue = DataValue.Decode(stream); decodedDataEntry.Ext = DataEntryExt.Decode(stream); return(decodedDataEntry); }
public static DataEntryExt Decode(IByteReader stream) { DataEntryExt decodedDataEntryExt = new DataEntryExt(); decodedDataEntryExt.Discriminant = XdrEncoding.DecodeInt32(stream); switch (decodedDataEntryExt.Discriminant) { case 0: break; } return(decodedDataEntryExt); }
public static DataEntryExt Decode(XdrDataInputStream stream) { DataEntryExt decodedDataEntryExt = new DataEntryExt(); int discriminant = stream.ReadInt(); decodedDataEntryExt.Discriminant = discriminant; switch (decodedDataEntryExt.Discriminant) { case 0: break; } return(decodedDataEntryExt); }