I'm never sure if questions like this belong in "Technical Support" or "Technical Discussion".
Anyhow, I was looking at this website trying to get a better understanding of the blocks in the blockchain:
http://james.lab6.com/2012/01/12/bitcoin-285-bytes-that-changed-the-worldI saw that the count of transactions, count of transaction inputs, response script length, number of outputs, and challenge script length are all "variable length integers":
There doesn't seem to be any "size" field before the integer to indicate the length, so if I were to try to create a program that parses the blockchain, how do I know how many bytes to parse out to determine the number of transactions?