public static RequestBuffer ( byte data, int offset, int size ) : byte[] | ||
data | byte | |
offset | int | |
size | int | |
return | byte[] |
public static byte[] RequestBuffer(byte[] data, int offset, int size) { var numArray = LegacyNetBufferPool.RequestBuffer(size); Buffer.BlockCopy((Array)data, offset, (Array)numArray, 0, size); return(numArray); }
// Token: 0x060009CE RID: 2510 RVA: 0x003B70AC File Offset: 0x003B52AC public static byte[] RequestBuffer(byte[] data, int offset, int size) { byte[] array = LegacyNetBufferPool.RequestBuffer(size); Buffer.BlockCopy(data, offset, array, 0, size); return(array); }