You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<typeparamname="T">The type of the returned reference.</typeparam>
256
+
<paramname="span">The span to reinterpret.</param>
257
+
<summary>Reinterprets a span of bytes as a reference to the structure of type <paramrefname="T" />.</summary>
258
+
<returns>The reference to the structure of type <paramrefname="T" />.</returns>
259
+
<remarks>
260
+
<formattype="text/markdown"><![CDATA[
261
+
262
+
## Remarks
263
+
264
+
`T` cannot contain pointers or references. It is checked at runtime in order to preserve type safety.
265
+
266
+
This method is supported only on platforms that support misaligned memory access or when the memory block is aligned by other means.
267
+
268
+
]]></format>
269
+
</remarks>
250
270
</Docs>
251
271
</Member>
252
272
<MemberMemberName="Cast<TFrom,TTo>">
@@ -645,7 +665,7 @@ If the span is empty, this method returns a reference to the location where the
645
665
646
666
## Remarks
647
667
648
-
`T` cannot contain pointers or references. `It is checked at runtime in order to preserve type safety.
668
+
`T` cannot contain pointers or references. It is checked at runtime in order to preserve type safety.
649
669
650
670
]]></format>
651
671
</remarks>
@@ -910,7 +930,7 @@ This method allows a read-only memory buffer to be used in existing APIs that re
910
930
911
931
## Remarks
912
932
913
-
`T` cannot contain pointers or references. `It is checked at runtime in order to preserve type safety.
933
+
`T` cannot contain pointers or references. It is checked at runtime in order to preserve type safety.
914
934
915
935
]]></format>
916
936
</remarks>
@@ -956,15 +976,15 @@ This method allows a read-only memory buffer to be used in existing APIs that re
956
976
<typeparamname="T">The type of the structure.</typeparam>
957
977
<paramname="destination">The span of bytes to contain the structure.</param>
958
978
<paramname="value">The structure to be written to the span.</param>
959
-
<summary>Tries to writes a structure of type <paramrefname="T" /> into a span of bytes.</summary>
979
+
<summary>Tries to write a structure of type <paramrefname="T" /> into a span of bytes.</summary>
960
980
<returns>
961
981
<seelangword="true" /> if the write operation succeeded; otherwise, <seelangword="false" />. The method returns <seelangword="false" /> if the span is too small to contain <paramrefname="T" />. </returns>
962
982
<remarks>
963
983
<formattype="text/markdown"><![CDATA[
964
984
965
985
## Remarks
966
986
967
-
`T` cannot contain pointers or references. `It is checked at runtime in order to preserve type safety.
987
+
`T` cannot contain pointers or references. It is checked at runtime in order to preserve type safety.
968
988
969
989
]]></format>
970
990
</remarks>
@@ -1016,7 +1036,7 @@ This method allows a read-only memory buffer to be used in existing APIs that re
1016
1036
1017
1037
## Remarks
1018
1038
1019
-
`T` cannot contain pointers or references. `It is checked at runtime in order to preserve type safety.
1039
+
`T` cannot contain pointers or references. It is checked at runtime in order to preserve type safety.
1020
1040
1021
1041
]]></format>
1022
1042
</remarks>
@@ -1027,4 +1047,4 @@ This method allows a read-only memory buffer to be used in existing APIs that re
0 commit comments