Skip to content

Use Marshal.PtrToStringUTF8 for modern TFMs#420

Merged
vlc-mirrorer merged 1 commit intovideolan:3.xfrom
mfkl:modernize/ptr-to-string-utf8
Mar 30, 2026
Merged

Use Marshal.PtrToStringUTF8 for modern TFMs#420
vlc-mirrorer merged 1 commit intovideolan:3.xfrom
mfkl:modernize/ptr-to-string-utf8

Conversation

@mfkl
Copy link
Copy Markdown
Member

@mfkl mfkl commented Mar 25, 2026

Replace manual byte-by-byte UTF-8 string reading with Marshal.PtrToStringUTF8 on netstandard2.1+ and net5.0+. Keeps the manual fallback for older targets (netstandard1.1, netstandard2.0, net40, net471, UWP, legacy Xamarin).

Replace manual byte-by-byte UTF-8 string reading with
Marshal.PtrToStringUTF8 on netstandard2.1+ and net5.0+.
Keeps the manual fallback for older targets (netstandard1.1,
netstandard2.0, net40, net471, UWP, legacy Xamarin).
@vlc-mirrorer vlc-mirrorer merged commit edda0ca into videolan:3.x Mar 30, 2026
5 checks passed
@mfkl mfkl deleted the modernize/ptr-to-string-utf8 branch March 30, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants