AsMemory(int, int)
public Memory<byte> AsMemory(int offset, int length) Creates a new memory region over the portion of the target page beginning at a specified position with a specified length.
Parameters
offsetint- The offset into the array that the memory region starts from.
lengthint- The length of the memory region.
Returns
The memory region.
