public static LedgerKeyData Decode(XdrDataInputStream stream) { var decodedLedgerKeyData = new LedgerKeyData(); decodedLedgerKeyData.AccountID = AccountID.Decode(stream); decodedLedgerKeyData.DataName = String64.Decode(stream); return(decodedLedgerKeyData); }
public static LedgerKeyData Decode(IByteReader stream) { LedgerKeyData decodedLedgerKeyData = new LedgerKeyData(); decodedLedgerKeyData.AccountID = AccountID.Decode(stream); decodedLedgerKeyData.DataName = String64.Decode(stream); return(decodedLedgerKeyData); }
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 ManageDataOp Decode(XdrDataInputStream stream) { var decodedManageDataOp = new ManageDataOp(); decodedManageDataOp.DataName = String64.Decode(stream); var DataValuePresent = stream.ReadInt(); if (DataValuePresent != 0) { decodedManageDataOp.DataValue = DataValue.Decode(stream); } return(decodedManageDataOp); }
public static ManageDataOp Decode(IByteReader stream) { ManageDataOp decodedManageDataOp = new ManageDataOp(); decodedManageDataOp.DataName = String64.Decode(stream); int dataValuePresent = XdrEncoding.DecodeInt32(stream); if (dataValuePresent != 0) { decodedManageDataOp.DataValue = DataValue.Decode(stream); } return(decodedManageDataOp); }