should be ```uint8_t buf[1]```, so buf can be used as an array.