[buffer] Fix indexed assignment
[buffer] Remove useless QByteArray reassignment