I have to implement zero copy method in a program in Qt C++,I read about it and got transferto() method.as described below: public void transferTo(long position, long count, WritableByteChannel target);
but i can't understand how it works.It is written that Internally, it depends on the underlying operating system's support for zero copy. So I tried to write a function but i didn't get the meaning of "position" and "channel" here.
Can anyone help me?