FastCopy

Memory ››
Parent Previous Next

FastCopy

Синтаксис

sub FastCopy(Byval pTarget as any ptr, Byval pSource as any ptr, Byval nBytes as uinteger)

Описание

Производит копирование из одного буфера памяти в другой.

Параметры

pTarget - буфер приемник

pSource - исходный буфер

nBytes - кол-во копируемых байт

Платформы

Windows , Linux

Пример

#Include "window9.bi"
Dim As Byte dd(10),hh(10)
For a As Integer=0 To 10
  dd(a)=123
Next
FastCopy(@hh(0),@dd(0),11)
For a As Integer=0 To 10
  ? hh(a)
Next
Sleep

Результат

123
123
123
123
123
123
123
123
123
123
123

Created with the Personal Edition of HelpNDoc: Full featured Help generator