A buffer is simply an array and you save data to each array element using the = operation.
int inputValues [16];
for(i=0; i<16; i++){
value = // what ever you have to do to read the value
inputValues[i] = value;
}
A buffer is simply an array and you save data to each array element using the = operation.
int inputValues [16];
for(i=0; i<16; i++){
value = // what ever you have to do to read the value
inputValues[i] = value;
}