Skip to content

refactor: modernize XGM class using Spans and .NET 8 features#4969

Open
romeoahmed wants to merge 1 commit intoseerge:mainfrom
romeoahmed:reflector/modernize-xgm
Open

refactor: modernize XGM class using Spans and .NET 8 features#4969
romeoahmed wants to merge 1 commit intoseerge:mainfrom
romeoahmed:reflector/modernize-xgm

Conversation

@romeoahmed
Copy link

  • Replace deprecated HidDeviceLoader with DeviceList.Local
  • Replace BitConverter.ToString with Convert.ToHexString
  • Use ReadOnlySpan<byte> and stackalloc to reduce heap allocations
  • Modernize syntax with collection expressions and u8 literals

@romeoahmed romeoahmed force-pushed the reflector/modernize-xgm branch from b30a294 to 99ee83d Compare January 26, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant