示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 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);
     }
 }
示例#4
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);
     }
 }
示例#5
0
 public static void Encode(XdrDataOutputStream stream, LedgerKeyData encodedLedgerKeyData)
 {
     AccountID.Encode(stream, encodedLedgerKeyData.AccountID);
     String64.Encode(stream, encodedLedgerKeyData.DataName);
 }
示例#6
0
 public static void Encode(IByteWriter stream, LedgerKeyData encodedLedgerKeyData)
 {
     AccountID.Encode(stream, encodedLedgerKeyData.AccountID);
     String64.Encode(stream, encodedLedgerKeyData.DataName);
 }