Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21090

[RESOLVED] How to test a byte array for amount of data

$
0
0
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

Viewing all articles
Browse latest Browse all 21090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>