Beispiel #1
0
 public void Read(byte[] bytes)
 {
     using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN))
     {
         GUID                = io.ReadUInt32();
         Position            = (VMCreateObjectPosition)io.ReadByte();
         Flags               = io.ReadByte();
         LocalToUse          = io.ReadByte();
         InteractionCallback = io.ReadByte();
     }
 }
 public void Read(byte[] bytes)
 {
     using (var io = IoBuffer.FromBytes(bytes, ByteOrder.LITTLE_ENDIAN))
     {
         GUID = io.ReadUInt32();
         Position = (VMCreateObjectPosition)io.ReadByte();
         Flags = io.ReadByte();
         LocalToUse = io.ReadByte();
         InteractionCallback = io.ReadByte();
     }
 }