You can use

Qt Code:
  1. mybytes >> (qint8) ch;
To copy to clipboard, switch view to plain text mode