Is there a way to measure an unsigned buffer thats half full and half empty.
Is there a function to call to measure the length of buffer so that the lenght is 50 instead of 100Code:unsigned char buffer[100]; int i; for(i=0; i<50; i++){ buffer[i] = rand%5; }