Skip to content

Revise internal representation of Interface for Windows - #49

Open
nathaniel-bennett wants to merge 1 commit into
masterfrom
interface-windows-fix
Open

nathaniel-bennett wants to merge 1 commit into
masterfrom
interface-windows-fix

Conversation

@nathaniel-bennett

Copy link
Copy Markdown
Collaborator

Currently, Interface is represented as an array of u16 values. This unfortunately does not work very well with certain methods that expect a short char representation of an interface name rather than wide char. Since OsStr can be constructed directly from the short char representation, and since it can form the wide char representation directly as needed, we'll opt to make the internal a short char for now.

@nathaniel-bennett
nathaniel-bennett force-pushed the interface-windows-fix branch from 1b9bf21 to 83e6e70 Compare May 1, 2025 15:58
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