Skip to content

Update InterpretStruct when API is ready #1

@mjsabby

Description

@mjsabby

https://github.com/dotnet/corefx/issues/30613 tracks making an API that can interpret struct. Today a poor man's version is

MemoryMarshal.Cast<byte, T>(new Span<byte>(data, offset, Marshal.SizeOf<T>))[0];

Tracking to make sure we update this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions