130 lines
5.4 KiB
C#
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: 0x020000C4 RID: 196
|
|
[Token(Token = "0x20000C4")]
|
|
[ComVisible(true)]
|
|
public static class Buffer
|
|
{
|
|
// Token: 0x0600059D RID: 1437 RVA: 0x00004788 File Offset: 0x00002988
|
|
[Token(Token = "0x600059D")]
|
|
[Address(RVA = "0x2D0DE80", Offset = "0x2D0CE80", VA = "0x182D0DE80")]
|
|
internal static bool InternalBlockCopy(Array src, int srcOffsetBytes, Array dst, int dstOffsetBytes, int byteCount)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600059E RID: 1438 RVA: 0x000047A0 File Offset: 0x000029A0
|
|
[Token(Token = "0x600059E")]
|
|
[Address(RVA = "0x2D0DDC0", Offset = "0x2D0CDC0", VA = "0x182D0DDC0")]
|
|
internal unsafe static int IndexOfByte(byte* src, byte value, int index, int count)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x0600059F RID: 1439 RVA: 0x000047B8 File Offset: 0x000029B8
|
|
[Token(Token = "0x600059F")]
|
|
[Address(RVA = "0x2D0E180", Offset = "0x2D0D180", VA = "0x182D0E180")]
|
|
private static int _ByteLength(Array array)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x060005A0 RID: 1440 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A0")]
|
|
[Address(RVA = "0x2D0E160", Offset = "0x2D0D160", VA = "0x182D0E160")]
|
|
internal unsafe static void ZeroMemory(byte* src, long len)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005A1 RID: 1441 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A1")]
|
|
[Address(RVA = "0x2D0E120", Offset = "0x2D0D120", VA = "0x182D0E120")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
|
internal unsafe static void Memcpy(byte[] dest, int destIndex, byte* src, int srcIndex, int len)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005A2 RID: 1442 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A2")]
|
|
[Address(RVA = "0x2D0DE90", Offset = "0x2D0CE90", VA = "0x182D0DE90")]
|
|
[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: 0x060005A3 RID: 1443 RVA: 0x000047D0 File Offset: 0x000029D0
|
|
[Token(Token = "0x60005A3")]
|
|
[Address(RVA = "0x2D0DD00", Offset = "0x2D0CD00", VA = "0x182D0DD00")]
|
|
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: 0x060005A4 RID: 1444 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A4")]
|
|
[Address(RVA = "0x2D0DAD0", Offset = "0x2D0CAD0", VA = "0x182D0DAD0")]
|
|
public static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005A5 RID: 1445 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A5")]
|
|
[Address(RVA = "0x2D0E2C0", Offset = "0x2D0D2C0", VA = "0x182D0E2C0")]
|
|
internal unsafe static void memcpy4(byte* dest, byte* src, int size)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005A6 RID: 1446 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A6")]
|
|
[Address(RVA = "0x2D0E240", Offset = "0x2D0D240", VA = "0x182D0E240")]
|
|
internal unsafe static void memcpy2(byte* dest, byte* src, int size)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005A7 RID: 1447 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A7")]
|
|
[Address(RVA = "0x2D0E190", Offset = "0x2D0D190", VA = "0x182D0E190")]
|
|
private unsafe static void memcpy1(byte* dest, byte* src, int size)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060005A8 RID: 1448 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60005A8")]
|
|
[Address(RVA = "0x2D0DED0", Offset = "0x2D0CED0", VA = "0x182D0DED0")]
|
|
internal unsafe static void Memcpy(byte* dest, byte* src, int size)
|
|
{
|
|
}
|
|
}
|
|
}
|