summaryrefslogtreecommitdiff
path: root/noncore/unsupported/ubrowser/new_chunked_algo_thoughts
blob: 8ca9318518004f91272f2f46a9cd1a9c738bb660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use a switch case, with each case being one potential way that the data is when the function is entered, or 
another one exits.

while(!done)
{
	switch(status)
	{
	case chunk header:
	case after chunk header:
	case no chunk header:
	}
}