Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Buffer.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

130 lines
5.4 KiB
C#

using System;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Manipulates arrays of primitive types.</summary>
// Token: 0x020000BD RID: 189
[Token(Token = "0x20000BD")]
[ComVisible(true)]
public static class Buffer
{
// Token: 0x06000580 RID: 1408 RVA: 0x00004698 File Offset: 0x00002898
[Token(Token = "0x6000580")]
[Address(RVA = "0x26CA120", Offset = "0x26C8F20", VA = "0x1826CA120")]
internal static bool InternalBlockCopy(Array src, int srcOffsetBytes, Array dst, int dstOffsetBytes, int byteCount)
{
return default(bool);
}
// Token: 0x06000581 RID: 1409 RVA: 0x000046B0 File Offset: 0x000028B0
[Token(Token = "0x6000581")]
[Address(RVA = "0x26CA060", Offset = "0x26C8E60", VA = "0x1826CA060")]
internal unsafe static int IndexOfByte(byte* src, byte value, int index, int count)
{
return 0;
}
// Token: 0x06000582 RID: 1410 RVA: 0x000046C8 File Offset: 0x000028C8
[Token(Token = "0x6000582")]
[Address(RVA = "0x26CA420", Offset = "0x26C9220", VA = "0x1826CA420")]
private static int _ByteLength(Array array)
{
return 0;
}
// Token: 0x06000583 RID: 1411 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000583")]
[Address(RVA = "0x26CA400", Offset = "0x26C9200", VA = "0x1826CA400")]
internal unsafe static void ZeroMemory(byte* src, long len)
{
}
// Token: 0x06000584 RID: 1412 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000584")]
[Address(RVA = "0x26CA3C0", Offset = "0x26C91C0", VA = "0x1826CA3C0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
internal unsafe static void Memcpy(byte[] dest, int destIndex, byte* src, int srcIndex, int len)
{
}
// Token: 0x06000585 RID: 1413 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000585")]
[Address(RVA = "0x26CA130", Offset = "0x26C8F30", VA = "0x1826CA130")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
internal unsafe static void Memcpy(byte* pDest, int destIndex, byte[] src, int srcIndex, int len)
{
}
/// <summary>Returns the number of bytes in the specified array.</summary>
/// <param name="array">An array.</param>
/// <returns>The number of bytes in the array.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="array" /> is not a primitive.</exception>
/// <exception cref="T:System.OverflowException">
/// <paramref name="array" /> is larger than 2 gigabytes (GB).</exception>
// Token: 0x06000586 RID: 1414 RVA: 0x000046E0 File Offset: 0x000028E0
[Token(Token = "0x6000586")]
[Address(RVA = "0x26C9FA0", Offset = "0x26C8DA0", VA = "0x1826C9FA0")]
public static int ByteLength(Array array)
{
return 0;
}
/// <summary>Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset.</summary>
/// <param name="src">The source buffer.</param>
/// <param name="srcOffset">The zero-based byte offset into <paramref name="src" />.</param>
/// <param name="dst">The destination buffer.</param>
/// <param name="dstOffset">The zero-based byte offset into <paramref name="dst" />.</param>
/// <param name="count">The number of bytes to copy.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="src" /> or <paramref name="dst" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="src" /> or <paramref name="dst" /> is not an array of primitives.
/// -or-
/// The number of bytes in <paramref name="src" /> is less than <paramref name="srcOffset" /> plus <paramref name="count" />.
/// -or-
/// The number of bytes in <paramref name="dst" /> is less than <paramref name="dstOffset" /> plus <paramref name="count" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="srcOffset" />, <paramref name="dstOffset" />, or <paramref name="count" /> is less than 0.</exception>
// Token: 0x06000587 RID: 1415 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000587")]
[Address(RVA = "0x26C9D70", Offset = "0x26C8B70", VA = "0x1826C9D70")]
public static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
{
}
// Token: 0x06000588 RID: 1416 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000588")]
[Address(RVA = "0x26CA560", Offset = "0x26C9360", VA = "0x1826CA560")]
internal unsafe static void memcpy4(byte* dest, byte* src, int size)
{
}
// Token: 0x06000589 RID: 1417 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000589")]
[Address(RVA = "0x26CA4E0", Offset = "0x26C92E0", VA = "0x1826CA4E0")]
internal unsafe static void memcpy2(byte* dest, byte* src, int size)
{
}
// Token: 0x0600058A RID: 1418 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600058A")]
[Address(RVA = "0x26CA430", Offset = "0x26C9230", VA = "0x1826CA430")]
private unsafe static void memcpy1(byte* dest, byte* src, int size)
{
}
// Token: 0x0600058B RID: 1419 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600058B")]
[Address(RVA = "0x26CA170", Offset = "0x26C8F70", VA = "0x1826CA170")]
internal unsafe static void Memcpy(byte* dest, byte* src, int size)
{
}
}
}