/******************************************************** * Buffer.h * * * * XFX Buffer class definition file * * Copyright © XFX Team. All Rights Reserved * ********************************************************/ #ifndef _SYSTEM_BUFFER_ #define _SYSTEM_BUFFER_ #include "Types.h" namespace System { /// /// Manipulates arrays of primitive types. /// class Buffer { public: template static void BlockCopy(T src[], int srcOffset, T dst[], int dstOffset, int count); template static int ByteLength(T array[]); template static byte GetByte(T array[], int index); template static void SetByte(T array[], int index, byte value); }; } #endif //_SYSTEM_BUFFER_