Мне нужно преобразовать этот код из C ++ в Delphi: < /p>
template
DestType* ByteOffset(SrcType* ptr, ptrdiff_t offset)
{
return reinterpret_cast(reinterpret_cast(ptr) + offset);
}
Подробнее здесь: https://stackoverflow.com/questions/948 ... -like-in-c