GeezerVison is showing github.com — Fix UnsafeBlitFormatter for the case of endianess mismatch by pCYSl5EDgo · Pull Request #1894 · MessagePack-CSharp/MessagePack-CSharp
Conversation
pCYSl5EDgo
commented
Jul 20, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
The signature of UnsafeBlitFormatterBase needs to be changed.
It requires the endianess-reverser.
The constraints of type parameter T is now changed from struct to unmanaged.
Unity 2022 can use C#9 and unmanaged constraint was introduced since C#7.3.
This change reduces the call of Marshal.Cast.
Related issue #1868
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 4, 2025
This was referenced Nov 3, 2025
This was referenced Dec 2, 2025
This was referenced Jan 28, 2026
This was referenced Feb 20, 2026
This was referenced May 19, 2026
This was referenced Nov 9, 2026
This was referenced Nov 16, 2026
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.