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
<paramname="buffer">The byte array segment from which this stream was created.</param>
2019
+
<paramname="buffer">When this method returns <seelangword="true" />, the byte array segment from which this stream was created; when this method returns <seelangword="false" />, this parameter is set to <seelangword="default" />.</param>
2020
2020
<summary>Returns the array of unsigned bytes from which this stream was created. The return value indicates whether the conversion succeeded.</summary>
2021
2021
<returns>
2022
-
<seelangword="true" /> if the conversion was successful; otherwise, <seelangword="false" />.</returns>
2023
-
<remarks>To be added.</remarks>
2022
+
<seelangword="true" /> if the buffer is exposable; otherwise, <seelangword="false" />.</returns>
2023
+
<remarks>
2024
+
<formattype="text/markdown">
2025
+
<![CDATA[
2026
+
2027
+
## Remarks
2028
+
2029
+
This method returns `true` when the the underlying buffer is marked as exposable, which happens when the current `MemoryStream` instance is created with:
- <xref:System.IO.MemoryStream.%23ctor%28System.Byte%5B%5D,System.Int32,System.Int32,System.Boolean,System.Boolean%29) with the parameter `publiclyVisible` set to `true`.
2034
+
2035
+
The underlying buffer will not be exposed if the current `MemoryStream` instance is created with:
- <xref:System.IO.MemoryStream.%23ctor%28System.Byte%5B%5D,System.Int32,System.Int32,System.Boolean,System.Boolean%29) with the parameter `publiclyVisible` set to `false`.
0 commit comments