This API matches (as close as possible) how other pyb classes allow inplace operations, such as pyb.SPI.recv(buf).