internal static FileAccess GetFileAccess(this MemoryMappedViewAccessor accessor) => Intrinsics.ToInt32(accessor.CanRead, accessor.CanWrite) switch { 1 => FileAccess.Read,