Clean specific position of a buffer of data unsigned integer of 8 bits
_oBuff=clearBuffValue(_iBuff,pos);
Clean specific position of a buffer of data unsigned integer of 8 bits
This rutine its a scilab macro. The buffer is a matrix of 1 rows and n columns.
n=5; txBuff=init_buff(n); for i=1:n txBuff=setBuffValue(txBuff,i,i); end disp(txBuff); txBuff=clearBuffValue(txBuff,1); disp(txBuff); | ![]() | ![]() |