Exemplo n.º 1
0
        void passData(ushort flag, ref ushort enable, NativeObject data, Ptr pBuf,
                      int sizeDelta, ref int offset)
        {
            //! @todo new algorithm
            if ((flag & enable) != 0)
            {
                data.ReadFrom((pBuf + offset), data.TypeSize + sizeDelta);

                offset += (data.TypeSize + sizeDelta);
            }
            enable <<= 1;
        }