public MemoryMapResponse(MemoryMapOrigin origin, Span <byte> memory, ushort offset, bool writable = false, ushort repeat = 0) { this.origin = origin; this.memory = memory; this.offset = offset; this.writable = writable; this.repeat = repeat; }
public MemoryMapResponse(MemoryMapOrigin origin, byte[] memory, ushort offset, bool writable = false, ushort repeat = 0) : this(origin, memory.AsSpan(), offset, writable, repeat) { }