public unsafe void CopyElements(byte[] dst, int dstIndex, void *pSrc, int length) { fixed(byte *numRef = dst) { BufferUtil.CopyElements((void *)numRef, dst.Length, dstIndex, pSrc, length, 1); } }
unsafe void IUnsafeElementAccessor <ColorBgra32> .CopyElements(void *pDst, ColorBgra32[] src, int srcIndex, int length) { fixed(ColorBgra32 *bgraRef = src) { BufferUtil.CopyElements(pDst, (void *)bgraRef, src.Length, srcIndex, length, sizeof(ColorBgra32)); } }
public unsafe void CopyElements(void *pDst, byte[] src, int srcIndex, int length) { fixed(byte *numRef = src) { BufferUtil.CopyElements(pDst, (void *)numRef, src.Length, srcIndex, length, 1); } }
unsafe void IUnsafeElementAccessor <ColorBgra32> .CopyElements(ColorBgra32[] dst, int dstIndex, void *pSrc, int length) { fixed(ColorBgra32 *bgraRef = dst) { BufferUtil.CopyElements((void *)bgraRef, dst.Length, dstIndex, pSrc, length, sizeof(ColorBgra32)); } }