BUGFIX: read(buff,n) was not uisng offset in buffer, hence interleaving
read() with read(buf,n) calls would return the wrong data!
Merge pull request #82 from davids5/xCP_read_fix

BUGFIX: Wrong data returned becuase read(buff,n) was not using  offset in buffer