Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MemoryHelper.cs « JitInterface « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac009bcd17da11e1fddbc23c08233f36f3ae6dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Internal.JitInterface
{
    internal static unsafe class MemoryHelper
    {
        public static void FillMemory(byte* dest, byte fill, int count)
        {
            for (; count > 0; count--)
            {
                *dest = fill;
                dest++;
            }
        }
    }
}