Click or drag to resize

ReadOnlyMemoryT Methods

The ReadOnlyMemoryT type exposes the following members.

Methods
 NameDescription
Public methodCopyToCopies the content into a destination array.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodPin Pins the memory and returns a handle exposing a stable pointer to the first element. The handle must be disposed. For native-backed memory no pinning is needed.
Public methodSlice(Int32)Forms a slice starting at the specified index.
Public methodSlice(Int32, Int32)Forms a slice of the specified length starting at the specified index.
Public methodToArrayCopies the content into a new array.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Public methodTryGetArrayTries to get the underlying array segment. Returns false for native-backed memory.
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn Converts a generic object
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Top
See Also