public Stream AsStream() => Pointer.AsStream(length, accessor.GetFileAccess());
 /// <summary>
 /// Converts the segment of the memory-mapped file.
 /// </summary>
 /// <remarks>
 /// The caller is responsible for disposing of the returned stream.
 /// </remarks>
 /// <returns>The stream representing virtual memory of the memory-mapped file.</returns>
 public Stream AsStream() => accessor is null ? Stream.Null : Pointer.AsStream(Size, accessor.GetFileAccess());