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, ManageDataOp encodedManageDataOp) { String64.Encode(stream, encodedManageDataOp.DataName); if (encodedManageDataOp.DataValue != null) { stream.WriteInt(1); DataValue.Encode(stream, encodedManageDataOp.DataValue); } else { stream.WriteInt(0); } }
public static void Encode(IByteWriter stream, ManageDataOp encodedManageDataOp) { String64.Encode(stream, encodedManageDataOp.DataName); if (encodedManageDataOp.DataValue != null) { XdrEncoding.EncodeInt32(1, stream); DataValue.Encode(stream, encodedManageDataOp.DataValue); } else { XdrEncoding.EncodeInt32(0, stream); } }
public static void Encode(XdrDataOutputStream stream, LedgerKeyData encodedLedgerKeyData) { AccountID.Encode(stream, encodedLedgerKeyData.AccountID); String64.Encode(stream, encodedLedgerKeyData.DataName); }
public static void Encode(IByteWriter stream, LedgerKeyData encodedLedgerKeyData) { AccountID.Encode(stream, encodedLedgerKeyData.AccountID); String64.Encode(stream, encodedLedgerKeyData.DataName); }