Sometimes you need to perform the same action for a range of numbers.
for example
0000 : reserved
0001 : 192 samples
0010-0101 : 576 (2^(n-2)) samples, i.e. 576/1152/2304/4608
0110 : get 8 bit (blocksize-1) from end of header
0111 : get 16 bit (blocksize-1) from end of header
1000-1111 : 256 (2^(n-8)) samples, i.e. 256/512/1024/2048/4096/8192/16384/32768
Sometimes you need to perform the same action for a range of numbers. for example
so I propose to allow number ranges in switch.