public static byte[] ReadPicDatas(SapBuffer Buffers, int index)
        {
            long len  = Buffers.Height * Buffers.Width * Buffers.BytesPerPixel;
            long len1 = len / Buffers.BytesPerPixel;

            byte[] pRx1  = new byte[len];
            IntPtr pBuf1 = Marshal.UnsafeAddrOfPinnedArrayElement(pRx1, 0);

            if (index < 0)
            {
                Buffers.Read(0, (int)len1, pBuf1);
            }
            else
            {
                Buffers.Read(index, 0, (int)len1, pBuf1);
            }
            return(pRx1);
        }