I have a byte array loaded with sound recorded data but it is quit possible that the array is not completely full so I need a way to check for the amount of data in the array. I'm thinking maybe if I check for nn consecutive bytes of zero that this would tell me it's the remaining part of the array that does not contain data. How do I find nn zero bytes in an array. Let's say nn = 5
↧