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
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
@@ -52,9 +57,16 @@ public static bool TryGetOwnedMemory<T, TOwner>(ReadOnlyMemory<T> readOnlyMemory
52
57
}
53
58
54
59
/// <summary>
55
-
/// Get a <see cref="OwnedMemory{T}"/> and <param name="index">, <param name="length"> on the <see cref="OwnedMemory{T}"/> from the underlying memory.
56
-
/// If unable to get the <typeparamref name="TOwner"/>, return false with a default <typeparamref name="TOwner"/>.
60
+
/// Gets a <see cref="OwnedMemory{T}"/> and <paramref name="index" />, <paramref name="length"/> from the underlying memory.
61
+
/// If unable to get the <typeparamref name="TOwner"/> type, returns false.
57
62
/// </summary>
63
+
/// <typeparam name="T">The element type of the <paramref name="readOnlyMemory" />.</typeparam>
64
+
/// <typeparam name="TOwner">The type of <see cref="OwnedMemory{T}"/> to try and retrive.</typeparam>
65
+
/// <param name="readOnlyMemory">The memory to get the owner for.</param>
66
+
/// <param name="ownedMemory">The returned owner of the <see cref="ReadOnlyMemory{T}"/>.</param>
67
+
/// <param name="index">The offset from the start of the <paramref name="ownedMemory" /> that the <paramref name="readOnlyMemory" /> represents.</param>
68
+
/// <param name="length">The length of the <paramref name="ownedMemory" /> that the <paramref name="readOnlyMemory" /> represents.</param>
69
+
/// <returns>A <see cref="bool"/> indicating if it was successful.</returns>
0 commit comments