예제 #1
0
 public void Read(byte[] bytes)
 {
     using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
         OldAmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
         AmountOwner    = (VMVariableScope)io.ReadByte();
         AmountData     = io.ReadUInt16();
         Flags          = (VMTransferFundsFlags)io.ReadByte();
         io.ReadByte();
         ExpenseType  = (VMTransferFundsExpenseType)io.ReadByte();
         TransferType = (VMTransferFundsType)io.ReadByte();
     }
 }
예제 #2
0
        public void Read(byte[] bytes)
        {
            using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
                OldAmmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
                AmmountOwner    = (VMVariableScope)io.ReadByte();

                //TODO: Not certain of the boundaries for the next 2 fields
                Flags        = (VMTransferFundsFlags)io.ReadUInt32();
                ExpenseType  = (VMTransferFundsExpenseType)io.ReadByte();
                TransferType = (VMTransferFundsType)io.ReadByte();
            }
        }
예제 #3
0
        public void Read(byte[] bytes)
        {
            using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
                OldAmmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
                AmmountOwner = (VMVariableScope)io.ReadByte();

                //TODO: Not certain of the boundaries for the next 2 fields
                Flags = (VMTransferFundsFlags)io.ReadUInt32();
                ExpenseType = (VMTransferFundsExpenseType)io.ReadByte();
                TransferType = (VMTransferFundsType)io.ReadByte();
            }
        }
예제 #4
0
 public void Read(byte[] bytes)
 {
     using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN)){
         OldAmountOwner = (VMTransferFundsOldOwner)io.ReadByte();
         AmountOwner = (VMVariableScope)io.ReadByte();
         AmountData = io.ReadUInt16();
         Flags = (VMTransferFundsFlags)io.ReadByte();
         io.ReadByte();
         ExpenseType = (VMTransferFundsExpenseType)io.ReadByte();
         TransferType = (VMTransferFundsType)io.ReadByte();
     }
 }