ReadOnlyMemoryExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helpers for working with the ReadOnlyMemory<T> type.
public static class ReadOnlyMemoryExtensions
type ReadOnlyMemoryExtensions = class
Public Module ReadOnlyMemoryExtensions
- Inheritance
-
ReadOnlyMemoryExtensions
Methods
AsBytes<T>(ReadOnlyMemory<T>) |
Casts a ReadOnlyMemory<T> of one primitive type |
AsStream(ReadOnlyMemory<Byte>) |
Returns a Stream wrapping the contents of the given ReadOnlyMemory<T> of Byte instance. |
Cast<TFrom,TTo>(ReadOnlyMemory<TFrom>) |
Casts a ReadOnlyMemory<T> of one primitive type |